Skip to content
GitLab
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
1e607ac6
Commit
1e607ac6
authored
Feb 08, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Feb 08, 2019
Browse files
TUT: use coarser grid for gasMixing tutorial and run in parallel
parent
e5b3af9c
Changes
12
Hide whitespace changes
Inline
Side-by-side
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/T
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 300;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
"inlet.*"
{
type fixedValue;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/U
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform (0 0 0);
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
inlet_air
{
type flowRateInletVelocity;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/alphat
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 1e-3;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
"inlet.*"
{
type calculated;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/epsilon
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 100;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
inlet_air
{
type turbulentMixingLengthDissipationRateInlet;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/k
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 6;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
inlet_air
{
type turbulentIntensityKineticEnergyInlet;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/nut
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 0;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
"inlet.*"
{
type calculated;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/p
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 1e5;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
outlet
{
type fixedValue;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/0.orig/tracer0
View file @
1e607ac6
...
...
@@ -21,6 +21,8 @@ internalField uniform 0;
boundaryField
{
#includeEtc "caseDicts/setConstraintTypes"
inlet_air
{
type fixedValue;
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/Allrun
View file @
1e607ac6
...
...
@@ -4,8 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
./Allrun.mesh
restore0Dir
runApplication decomposePar
-force
runParallel
rhoSimpleFoam
restore0Dir
-processor
runParallel
$(
getApplication
)
#------------------------------------------------------------------------------
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/Allrun.mesh
View file @
1e607ac6
...
...
@@ -2,9 +2,13 @@
cd
${
0
%/*
}
||
exit
1
# Run from this directory
.
$WM_PROJECT_DIR
/bin/tools/RunFunctions
# Tutorial run functions
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh
-overwrite
runApplication blockMesh
runApplication decomposePar
runParallel snappyHexMesh
-overwrite
rm
-rf
0
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/blockMeshDict
View file @
1e607ac6
...
...
@@ -16,14 +16,14 @@ FoamFile
vertices
(
(-0.5 -0.125 -0.25)
(1.5 -0.125 -0.25)
(1.5 0.125 -0.25)
(-0.5 0.125 -0.25)
(-0.5 -0.125 0.25)
(1.5 -0.125 0.25)
(1.5 0.125 0.25)
(-0.5 0.125 0.25)
(-0.5
-0.125
-0.25)
(
1.5
-0.125
-0.25)
(
1.5
0.125
-0.25)
(-0.5
0.125
-0.25)
(-0.5
-0.125
0.25)
(
1.5
-0.125
0.25)
(
1.5
0.125
0.25)
(-0.5
0.125
0.25)
);
blocks
...
...
tutorials/compressible/rhoSimpleFoam/gasMixing/injectorPipe/system/snappyHexMeshDict
View file @
1e607ac6
...
...
@@ -18,7 +18,7 @@ FoamFile
// Which of the steps to run
castellatedMesh true;
snap true;
addLayers
fals
e;
addLayers
tru
e;
// Geometry. Definition of all surfaces. All surfaces are of class
...
...
@@ -124,7 +124,7 @@ castellatedMeshControls
{
inlet_air
{
level (
4 4
);
level (
3 3
);
patchInfo
{
type patch;
...
...
@@ -132,7 +132,7 @@ castellatedMeshControls
}
inlet_fuel
{
level (
6 6
);
level (
5 5
);
patchInfo
{
type patch;
...
...
@@ -140,7 +140,7 @@ castellatedMeshControls
}
outlet
{
level (
4 4
);
level (
3 3
);
patchInfo
{
type patch;
...
...
@@ -148,7 +148,7 @@ castellatedMeshControls
}
inlet_entrainment
{
level (
4 4
);
level (
3 3
);
patchInfo
{
type patch;
...
...
@@ -156,10 +156,10 @@ castellatedMeshControls
}
walls
{
level (
4 4
);
level (
3 3
);
regions
{
pipe_fuel { level (
6 6
); }
pipe_fuel { level (
5 5
); }
}
patchInfo
{
...
...
@@ -190,7 +190,7 @@ castellatedMeshControls
refinementBox
{
mode inside;
levels ((
4 4
));
levels ((
3 3
));
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment