Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
a54afe65
Commit
a54afe65
authored
Apr 05, 2011
by
Henry
Browse files
potentialFoam: Changed the sub-dict in fvSolution from SIMPLE to potentialFlow
parent
a7695330
Changes
10
Hide whitespace changes
Inline
Side-by-side
applications/solvers/basic/potentialFoam/createFields.H
View file @
a54afe65
...
...
@@ -47,4 +47,10 @@
label
pRefCell
=
0
;
scalar
pRefValue
=
0
.
0
;
setRefCell
(
p
,
mesh
.
solutionDict
().
subDict
(
"SIMPLE"
),
pRefCell
,
pRefValue
);
setRefCell
(
p
,
potentialFlow
,
pRefCell
,
pRefValue
);
applications/solvers/basic/potentialFoam/potentialFoam.C
View file @
a54afe65
...
...
@@ -42,8 +42,8 @@ int main(int argc, char *argv[])
#include
"setRootCase.H"
#include
"createTime.H"
#include
"createMesh.H"
#include
"readControls.H"
#include
"createFields.H"
#include
"readSIMPLEControls.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
...
tutorials/basic/potentialFoam/cylinder/system/fvSchemes
View file @
a54afe65
...
...
@@ -22,7 +22,7 @@ ddtSchemes
gradSchemes
{
default
Gauss linear
;
default
leastSquares
;
}
divSchemes
...
...
tutorials/basic/potentialFoam/cylinder/system/fvSolution
View file @
a54afe65
...
...
@@ -26,7 +26,7 @@ solvers
}
}
SIMPLE
potentialFlow
{
nNonOrthogonalCorrectors 3;
}
...
...
tutorials/basic/potentialFoam/pitzDaily/system/fvSolution
View file @
a54afe65
...
...
@@ -26,7 +26,7 @@ solvers
}
}
SIMPLE
potentialFlow
{
nNonOrthogonalCorrectors 0;
}
...
...
tutorials/incompressible/simpleFoam/motorBike/Allclean
View file @
a54afe65
...
...
@@ -3,7 +3,6 @@
# Source tutorial clean functions
.
$WM_PROJECT_DIR
/bin/tools/CleanFunctions
rm
-f
system/fvSolution
rm
-rf
0
>
/dev/null 2>&1
cleanCase
tutorials/incompressible/simpleFoam/motorBike/Allrun
View file @
a54afe65
...
...
@@ -2,14 +2,10 @@
# Source tutorial run functions
.
$WM_PROJECT_DIR
/bin/tools/RunFunctions
cp
system/fvSolution.org system/fvSolution
cp
-r
0.org 0
>
/dev/null 2>&1
runApplication blockMesh
runApplication snappyHexMesh
-overwrite
sed
-i
's/\(nNonOrthogonalCorrectors\).*;/\1 10;/g'
system/fvSolution
runApplication potentialFoam
-writep
sed
-i
's/\(nNonOrthogonalCorrectors\).*;/\1 0;/g'
system/fvSolution
runApplication
`
getApplication
`
tutorials/incompressible/simpleFoam/motorBike/constant/polyMesh/boundary
View file @
a54afe65
...
...
@@ -21,433 +21,433 @@ FoamFile
{
type patch;
nFaces 320;
startFace 102
8304
;
startFace 102
7872
;
}
inlet
{
type patch;
nFaces 64;
startFace 1028
624
;
startFace 1028
192
;
}
outlet
{
type patch;
nFaces 64;
startFace 1028
688
;
startFace 1028
256
;
}
lowerWall
{
type wall;
nFaces 5330;
startFace 1028
752
;
startFace 1028
320
;
}
upperWall
{
type patch;
nFaces 160;
startFace 103
4082
;
startFace 103
3650
;
}
motorBike_frt-fairing:001%1
{
type wall;
nFaces 54
27
;
startFace 103
4242
;
nFaces 54
16
;
startFace 103
3810
;
}
motorBike_windshield:002%2
{
type wall;
nFaces 50;
startFace 1039
669
;
startFace 1039
226
;
}
motorBike_rr-wh-rim:005%5
{
type wall;
nFaces 13
6
;
startFace 1039
719
;
nFaces 13
7
;
startFace 1039
276
;
}
motorBike_rr-wh-rim:010%10
{
type wall;
nFaces 340;
startFace 1039
855
;
startFace 1039
413
;
}
motorBike_fr-wh-rim:011%11
{
type wall;
nFaces 473;
startFace 10
40195
;
startFace 10
39753
;
}
motorBike_fr-wh-brake-disk:012%12
{
type wall;
nFaces 54;
startFace 1040
668
;
startFace 1040
226
;
}
motorBike_frame:016-shadow%13
{
type wall;
nFaces 9
7
;
startFace 1040
722
;
nFaces 9
8
;
startFace 1040
280
;
}
motorBike_rear-susp:014%14
{
type wall;
nFaces 8
39
;
startFace 1040
819
;
nFaces 8
44
;
startFace 1040
378
;
}
motorBike_rear-susp:014-shadow%15
{
type wall;
nFaces 46
9
;
startFace 1041
658
;
nFaces 46
1
;
startFace 1041
222
;
}
motorBike_frame:016%16
{
type wall;
nFaces 6
8
;
startFace 104
2127
;
nFaces 6
7
;
startFace 104
1683
;
}
motorBike_rr-wh-rim:005-shadow%17
{
type wall;
nFaces 7
1
;
startFace 104
2195
;
nFaces 7
0
;
startFace 104
1750
;
}
motorBike_rr-wh-chain-hub:022%22
{
type wall;
nFaces 141;
startFace 104
2266
;
startFace 104
1820
;
}
motorBike_rearseat%24
{
type wall;
nFaces 430;
startFace 104
2407
;
startFace 104
1961
;
}
motorBike_frt-fairing%25
{
type wall;
nFaces 626;
startFace 1042
837
;
startFace 1042
391
;
}
motorBike_windshield%26
{
type wall;
nFaces 3
7
8;
startFace 1043
463
;
nFaces 3
6
8;
startFace 1043
017
;
}
motorBike_headlights%27
{
type wall;
nFaces 161;
startFace 1043
841
;
startFace 1043
385
;
}
motorBike_driversseat%28
{
type wall;
nFaces 368;
startFace 104
4002
;
startFace 104
3546
;
}
motorBike_rear-body%29
{
type wall;
nFaces 2077;
startFace 104
4370
;
startFace 104
3914
;
}
motorBike_fuel-tank%30
{
type wall;
nFaces 912;
startFace 104
6447
;
startFace 104
5991
;
}
motorBike_exhaust%31
{
type wall;
nFaces 2392;
startFace 104
7359
;
startFace 104
6903
;
}
motorBike_rr-wh-rim%32
{
type wall;
nFaces 1430;
startFace 1049
751
;
startFace 1049
295
;
}
motorBike_fr-mud-guard%33
{
type wall;
nFaces 6
39
;
startFace 105
1181
;
nFaces 6
24
;
startFace 105
0725
;
}
motorBike_fr-wh-rim%34
{
type wall;
nFaces 591;
startFace 1051
820
;
startFace 1051
349
;
}
motorBike_fr-wh-brake-disk%35
{
type wall;
nFaces 4
31
;
startFace 105
2411
;
nFaces 4
27
;
startFace 105
1940
;
}
motorBike_fr-brake-caliper%36
{
type wall;
nFaces 164;
startFace 1052
842
;
startFace 1052
367
;
}
motorBike_fr-wh-tyre%37
{
type wall;
nFaces 1116;
startFace 105
3006
;
startFace 105
2531
;
}
motorBike_hbars%38
{
type wall;
nFaces 535;
startFace 105
4122
;
startFace 105
3647
;
}
motorBike_fr-forks%39
{
type wall;
nFaces 1140;
startFace 1054
657
;
startFace 1054
182
;
}
motorBike_chain%40
{
type wall;
nFaces 474;
startFace 1055
797
;
startFace 1055
322
;
}
motorBike_rr-wh-tyre%41
{
type wall;
nFaces 1787;
startFace 105
6271
;
startFace 105
5796
;
}
motorBike_square-dial%42
{
type wall;
nFaces 6;
startFace 105
80
58;
startFace 105
7
58
3
;
}
motorBike_round-dial%43
{
type wall;
nFaces 17;
startFace 105
8064
;
startFace 105
7589
;
}
motorBike_dial-holder%44
{
type wall;
nFaces 87;
startFace 105
8081
;
startFace 105
7606
;
}
motorBike_rear-susp%45
{
type wall;
nFaces 1786;
startFace 105
8168
;
startFace 105
7693
;
}
motorBike_rear-brake-lights%46
{
type wall;
nFaces 53;
startFace 1059
954
;
startFace 1059
479
;
}
motorBike_rear-light-bracket%47
{
type wall;
nFaces 163;
startFace 10
60007
;
startFace 10
59532
;
}
motorBike_frame%48
{
type wall;
nFaces 2040;
startFace 10
60170
;
startFace 10
59695
;
}
motorBike_rear-mud-guard%49
{
type wall;
nFaces 663;
startFace 106
2210
;
startFace 106
1735
;
}
motorBike_rear-susp-spring-damp%50
{
type wall;
nFaces 107;
startFace 1062
873
;
startFace 1062
398
;
}
motorBike_fairing-inner-plate%51
{
type wall;
nFaces 445;
startFace 1062
980
;
startFace 1062
505
;
}
motorBike_clutch-housing%52
{
type wall;
nFaces 970;
startFace 106
3425
;
startFace 106
2950
;
}
motorBike_radiator%53
{
type wall;
nFaces
40
;
startFace 106
4
39
5
;
nFaces
39
;
startFace 10639
20
;
}
motorBike_water-pipe%54
{
type wall;
nFaces 104;
startFace 106
4435
;
startFace 106
3959
;
}
motorBike_water-pump%55
{
type wall;
nFaces 74;
startFace 1064
539
;
startFace 1064
063
;
}
motorBike_engine%56
{
type wall;
nFaces 2389;
startFace 1064
6
13;
startFace 106413
7
;
}
motorBike_rear-shock-link%57
{
type wall;
nFaces 2
5
;
startFace 106
7002
;
nFaces 2
6
;
startFace 106
6526
;
}
motorBike_rear-brake-fluid-pot-bracket%58
{
type wall;
nFaces 44;
startFace 106
7027
;
startFace 106
6552
;
}
motorBike_rear-brake-fluid-pot%59
{
type wall;
nFaces 53;
startFace 106
7071
;
startFace 106
6596
;
}
motorBike_footpeg%60
{
type wall;
nFaces 86;
startFace 106
7124
;
startFace 106
6649
;
}
motorBike_rr-wh-chain-hub%61
{
type wall;
nFaces 122;
startFace 106
7210
;
startFace 106
6735
;
}
motorBike_rear-brake-caliper%62
{
type wall;
nFaces 142;
startFace 106
7332
;
startFace 106
6857
;
}
motorBike_rider-helmet%65
{
type wall;
nFaces 583;
startFace 106
7474
;
startFace 106
6999
;
}
motorBike_rider-visor%66
{
type wall;
nFaces 95;
startFace 106
8057
;
startFace 106
7582
;
}
motorBike_rider-boots%67
{
type wall;
nFaces 1025;
startFace 106
8152
;
startFace 106
7677
;
}
motorBike_rider-gloves%68
{
type wall;
nFaces 319;
startFace 106
9177
;
startFace 106
8702
;
}
motorBike_rider-body%69
{
type wall;
nFaces 4555;
startFace 1069
496
;
startFace 1069
021
;
}
motorBike_frame:0%70
{
type wall;
nFaces 37;
startFace 107
4051
;
startFace 107
3576
;
}
motorBike_frt-fairing:001-shadow%74
{
type wall;
nFaces 33
06
;
startFace 107
4088
;
nFaces 33
17
;
startFace 107
3613
;
}
motorBike_windshield-shadow%75
{
type wall;
nFaces 23
9
;
startFace 107
7394
;
nFaces 23
6
;
startFace 107
6930
;
}
motorBike_fr-mud-guard-shadow%81
{
type wall;
nFaces 3
32
;
startFace 1077
633
;
nFaces 3
50
;
startFace 1077
166
;
}
motorBike_fr-wh-brake-disk-shadow%83
{
type wall;
nFaces 18
2
;
startFace 1077
965
;
nFaces 18
6
;
startFace 1077
516
;
}
motorBike_rear-mud-guard-shadow%84
{
type wall;
nFaces 38
7
;
startFace 107
8147
;
nFaces 38
8
;
startFace 107
7702
;
}
motorBike_rear-susp-spring-damp-shadow%85
{
type wall;
nFaces 41;
startFace 1078
534
;
startFace 1078
090
;
}
motorBike_radiator-shadow%86
{
type wall;
nFaces 2
1
;
startFace 1078
575
;
nFaces 2
2
;
startFace 1078
131
;
}
motorBike_rear-shock-link-shadow%87
{
type wall;
nFaces
10
;
startFace 1078
596
;
nFaces
9
;
startFace 1078
153
;
}
motorBike_rear-brake-fluid-pot-bracket-shadow%88
{
type wall;
nFaces 22;
startFace 1078
606
;
startFace 1078
162
;
}
motorBike_rr-wh-chain-hub-shadow%89
{
type wall;
nFaces 53;
startFace 1078
628
;
startFace 1078
184
;
}
)
...
...
tutorials/incompressible/simpleFoam/motorBike/system/fvSolution
.org
→
tutorials/incompressible/simpleFoam/motorBike/system/fvSolution
View file @
a54afe65
...
...
@@ -63,6 +63,11 @@ SIMPLE
nNonOrthogonalCorrectors 0;
}
potentialFlow
{
nNonOrthogonalCorrectors 10;
}
relaxationFactors
{
p 0.3;
...
...
tutorials/lagrangian/porousExplicitSourceReactingParcelFoam/verticalChannel/system/fvSolution
View file @
a54afe65
...
...
@@ -74,7 +74,7 @@ PISO
momentumPredictor yes;
}