mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -47,6 +47,9 @@ doc/[Dd]oxygen/html
|
|||||||
doc/[Dd]oxygen/latex
|
doc/[Dd]oxygen/latex
|
||||||
doc/[Dd]oxygen/man
|
doc/[Dd]oxygen/man
|
||||||
|
|
||||||
|
# Other HTML files e.g. ReleaseNotes-?.?.html
|
||||||
|
*.html
|
||||||
|
|
||||||
# source packages - anywhere
|
# source packages - anywhere
|
||||||
*.tar.bz2
|
*.tar.bz2
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
|
|||||||
@ -26,8 +26,8 @@ Application
|
|||||||
PDRFoam
|
PDRFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Compressible premixed/partially-premixed combustion solver with turbulence
|
Solver for compressible premixed/partially-premixed combustion with
|
||||||
modelling.
|
turbulence modelling.
|
||||||
|
|
||||||
Combusting RANS code using the b-Xi two-equation model.
|
Combusting RANS code using the b-Xi two-equation model.
|
||||||
Xi may be obtained by either the solution of the Xi transport
|
Xi may be obtained by either the solution of the Xi transport
|
||||||
|
|||||||
@ -110,6 +110,25 @@ PDRkEpsilon::PDRkEpsilon
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
|
|
||||||
|
kappa_
|
||||||
|
(
|
||||||
|
dimensioned<scalar>::lookupOrAddToDict
|
||||||
|
(
|
||||||
|
"kappa_",
|
||||||
|
coeffDict_,
|
||||||
|
0.41
|
||||||
|
)
|
||||||
|
),
|
||||||
|
E_
|
||||||
|
(
|
||||||
|
dimensioned<scalar>::lookupOrAddToDict
|
||||||
|
(
|
||||||
|
"E",
|
||||||
|
coeffDict_,
|
||||||
|
9.8
|
||||||
|
)
|
||||||
|
),
|
||||||
|
|
||||||
k_
|
k_
|
||||||
(
|
(
|
||||||
IOobject
|
IOobject
|
||||||
|
|||||||
@ -75,6 +75,9 @@ class PDRkEpsilon
|
|||||||
dimensionedScalar alphaEps_;
|
dimensionedScalar alphaEps_;
|
||||||
dimensionedScalar alphah_;
|
dimensionedScalar alphah_;
|
||||||
|
|
||||||
|
dimensionedScalar kappa_;
|
||||||
|
dimensionedScalar E_;
|
||||||
|
|
||||||
volScalarField k_;
|
volScalarField k_;
|
||||||
volScalarField epsilon_;
|
volScalarField epsilon_;
|
||||||
volScalarField mut_;
|
volScalarField mut_;
|
||||||
@ -85,6 +88,7 @@ public:
|
|||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("PDRkEpsilon");
|
TypeName("PDRkEpsilon");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -26,8 +26,8 @@ Application
|
|||||||
XiFoam
|
XiFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Compressible premixed/partially-premixed combustion solver with turbulence
|
Solver for compressible premixed/partially-premixed combustion with
|
||||||
modelling.
|
turbulence modelling.
|
||||||
|
|
||||||
Combusting RANS code using the b-Xi two-equation model.
|
Combusting RANS code using the b-Xi two-equation model.
|
||||||
Xi may be obtained by either the solution of the Xi transport
|
Xi may be obtained by either the solution of the Xi transport
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
dieselFoam
|
dieselFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Diesel engine spray and combustion code.
|
Solver for diesel engine spray and combustion.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
dieselFoam
|
dieselFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Diesel spray and combustion code.
|
Solver for diesel spray and combustion.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
reactingFoam
|
reactingFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Chemical reaction code.
|
Solver for combustion with chemical reactions.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,8 @@ Application
|
|||||||
rhoReactingFoam
|
rhoReactingFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Chemical reaction code using density based thermodynamics package.
|
Solver for combustion with chemical reactions using density based
|
||||||
|
thermodynamics package.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,8 @@ Application
|
|||||||
dsmcFoam
|
dsmcFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Direct Simulation Monte Carlo Solver for 3D, transient, multi-species flows
|
Direct simulation Monte Carlo (DSMC) solver for 3D, transient, multi-
|
||||||
|
species flows
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
mdEquilibrationFoam
|
mdEquilibrationFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Equilibrates and/or preconditions MD systems
|
Equilibrates and/or preconditions molecular dynamics systems
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
mdFoam
|
mdFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
molecular dynamics solver for fluid dynamics
|
Molecular dynamics solver for fluid dynamics
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -26,9 +26,11 @@ Application
|
|||||||
buoyantPisoFoam
|
buoyantPisoFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Transient Solver for buoyant, turbulent flow of compressible fluids for
|
Transient solver for buoyant, turbulent flow of compressible fluids for
|
||||||
ventilation and heat-transfer. Turbulence is modelled using a run-time
|
ventilation and heat-transfer.
|
||||||
selectable compressible RAS or LES model.
|
|
||||||
|
Turbulence is modelled using a run-time selectable compressible RAS or
|
||||||
|
LES model.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Transient solver for inviscid shallow-water equations with rotation.
|
Transient solver for inviscid shallow-water equations with rotation.
|
||||||
|
|
||||||
If the geometry is 3D then it is assumed to be one layers of cells and the
|
If the geometry is 3D then it is assumed to be one layers of cells and the
|
||||||
component of the velocity normal to gravity is removed.
|
component of the velocity normal to gravity is removed.
|
||||||
|
|
||||||
|
|||||||
@ -26,13 +26,17 @@ Application
|
|||||||
porousExplicitSourceReactingParcelFoam
|
porousExplicitSourceReactingParcelFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
Transient PISO solver for compressible, laminar or turbulent flow with
|
||||||
|
reacting Lagrangian parcels for porous media, including explicit sources
|
||||||
|
|
||||||
|
The solver includes:
|
||||||
- reacting parcel cloud
|
- reacting parcel cloud
|
||||||
- porous media
|
- porous media
|
||||||
- point mass sources
|
- point mass sources
|
||||||
- polynomial based, incompressible thermodynamics (f(T))
|
- polynomial based, incompressible thermodynamics (f(T))
|
||||||
|
|
||||||
Note: ddtPhiCorr not used here when porous zones are active
|
Note: ddtPhiCorr not used here when porous zones are active
|
||||||
- not well defined for porous calcs
|
- not well defined for porous calculations
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -23,11 +23,13 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Application
|
Application
|
||||||
kinematicParcelFoam
|
uncoupledKinematicParcelFoam
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Transient solver for a single kinematicCloud. Uses pre-calculated velocity
|
Transient solver for the passive transport of a single kinematic
|
||||||
field to evolve a cloud.
|
particle could.
|
||||||
|
|
||||||
|
Uses a pre- calculated velocity field to evolve the cloud.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -27,11 +27,13 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Solver for 2 compressible, isothermal immiscible fluids using a VOF
|
Solver for 2 compressible, isothermal immiscible fluids using a VOF
|
||||||
(volume of fluid) phase-fraction based interface capturing approach.
|
(volume of fluid) phase-fraction based interface capturing approach,
|
||||||
The momentum and other fluid properties are of the "mixture" and a single
|
with optional mesh motion and mesh topology changes including adaptive
|
||||||
momentum equation is solved.
|
re-meshing.
|
||||||
|
|
||||||
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
The momentum and other fluid properties are of the "mixture" and a
|
||||||
|
single momentum equation is solved. Turbulence modelling is generic,
|
||||||
|
i.e. laminar, RAS or LES may be selected.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -28,10 +28,11 @@ Application
|
|||||||
Description
|
Description
|
||||||
Solver for 2 compressible, isothermal immiscible fluids using a VOF
|
Solver for 2 compressible, isothermal immiscible fluids using a VOF
|
||||||
(volume of fluid) phase-fraction based interface capturing approach.
|
(volume of fluid) phase-fraction based interface capturing approach.
|
||||||
|
|
||||||
The momentum and other fluid properties are of the "mixture" and a single
|
The momentum and other fluid properties are of the "mixture" and a single
|
||||||
momentum equation is solved.
|
momentum equation is solved.
|
||||||
|
|
||||||
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -28,10 +28,11 @@ Application
|
|||||||
Description
|
Description
|
||||||
Solver for 2 incompressible, isothermal immiscible fluids using a VOF
|
Solver for 2 incompressible, isothermal immiscible fluids using a VOF
|
||||||
(volume of fluid) phase-fraction based interface capturing approach.
|
(volume of fluid) phase-fraction based interface capturing approach.
|
||||||
|
|
||||||
The momentum and other fluid properties are of the "mixture" and a single
|
The momentum and other fluid properties are of the "mixture" and a single
|
||||||
momentum equation is solved.
|
momentum equation is solved.
|
||||||
|
|
||||||
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
||||||
|
|
||||||
For a two-fluid approach see twoPhaseEulerFoam.
|
For a two-fluid approach see twoPhaseEulerFoam.
|
||||||
|
|
||||||
|
|||||||
@ -28,8 +28,10 @@ Application
|
|||||||
Description
|
Description
|
||||||
Solver for 2 incompressible, isothermal immiscible fluids with phase-change
|
Solver for 2 incompressible, isothermal immiscible fluids with phase-change
|
||||||
(e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based
|
(e.g. cavitation). Uses a VOF (volume of fluid) phase-fraction based
|
||||||
interface capturing approach. The momentum and other fluid properties are
|
interface capturing approach.
|
||||||
of the "mixture" and a single momentum equation is solved.
|
|
||||||
|
The momentum and other fluid properties are of the "mixture" and a
|
||||||
|
single momentum equation is solved.
|
||||||
|
|
||||||
The set of phase-change models provided are designed to simulate cavitation
|
The set of phase-change models provided are designed to simulate cavitation
|
||||||
but other mechanisms of phase-change are supported within this solver
|
but other mechanisms of phase-change are supported within this solver
|
||||||
|
|||||||
@ -27,7 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Solver for n incompressible fluids which captures the interfaces and
|
Solver for n incompressible fluids which captures the interfaces and
|
||||||
includes surface-tension and contact-angle effects for each.
|
includes surface-tension and contact-angle effects for each phase.
|
||||||
|
|
||||||
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
Turbulence modelling is generic, i.e. laminar, RAS or LES may be selected.
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Hex 2x2x2 refiner
|
Refines a hex mesh by 2x2x2 cell splitting.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -23,9 +23,10 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Utility to refine cells next to patches. Takes a patchName
|
Utility to refine cells next to patches.
|
||||||
and number of layers to refine. Works out cells within these layers
|
|
||||||
and refines those in the wall-normal direction.
|
Takes a patchName and number of layers to refine. Works out cells within
|
||||||
|
these layers and refines those in the wall-normal direction.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -23,10 +23,11 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Utility to split cells with flat faces. Uses a geometric cut with a plane
|
Utility to split cells with flat faces.
|
||||||
dividing the edge angle into two so might produce funny cells. For hexes
|
|
||||||
it will use by default a cut from edge onto opposite edge (i.e. purely
|
Uses a geometric cut with a plane dividing the edge angle into two so
|
||||||
topological).
|
might produce funny cells. For hexes it will use by default a cut from
|
||||||
|
edge onto opposite edge (i.e. purely topological).
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
- split cells from cellSet only
|
- split cells from cellSet only
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Reads .msh format generated by the Adventure system.
|
Converts .msh file generated by the Adventure system.
|
||||||
|
|
||||||
Note: the .msh format does not contain any boundary information. It is
|
Note: the .msh format does not contain any boundary information. It is
|
||||||
purely a description of the internal mesh.
|
purely a description of the internal mesh.
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
read Neutral file format as written by Netgen4.4.
|
Converts neutral file format as written by Netgen v4.4.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|||||||
@ -23,8 +23,8 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Calculate the dual of a polyMesh. Adheres to all the feature&patch edges.
|
Calculate the dual of a polyMesh. Adheres to all the feature and patch
|
||||||
|
edges.
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
||||||
|
|||||||
@ -79,7 +79,7 @@ int main(int argc, char *argv[])
|
|||||||
scaleFactor = 1;
|
scaleFactor = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.optionFound("solids"))
|
if (args.optionFound("solids"))
|
||||||
{
|
{
|
||||||
meshReaders::STARCD::keepSolids = true;
|
meshReaders::STARCD::keepSolids = true;
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Reads .ele and .node and .face files as written by tetgen.
|
Converts .ele and .node and .face files, written by tetgen.
|
||||||
|
|
||||||
Make sure to use add boundary attributes to the smesh file
|
Make sure to use add boundary attributes to the smesh file
|
||||||
(5 fifth column in the element section)
|
(5 fifth column in the element section)
|
||||||
|
|||||||
@ -100,7 +100,7 @@ void blockDescriptor::setEdge(label edgeI, label start, label end, label dim)
|
|||||||
scalar gExp = calcGexp(expand_[edgeI], dim);
|
scalar gExp = calcGexp(expand_[edgeI], dim);
|
||||||
|
|
||||||
// divide the line
|
// divide the line
|
||||||
lineDivide divEdge(curvedEdges_[nCEI], dim, 1.0/gExp);
|
lineDivide divEdge(curvedEdges_[nCEI], dim, 1.0/(gExp+SMALL));
|
||||||
|
|
||||||
pointField p = divEdge.points();
|
pointField p = divEdge.points();
|
||||||
scalarList d = divEdge.lambdaDivisions();
|
scalarList d = divEdge.lambdaDivisions();
|
||||||
|
|||||||
@ -24,8 +24,8 @@ License
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Extrude mesh from existing patch (by default outwards facing normals;
|
Extrude mesh from existing patch (by default outwards facing normals;
|
||||||
optional flips faces)
|
optional flips faces) or from patch read from file.
|
||||||
or from patch read from file.
|
|
||||||
Note: Merges close points so be careful.
|
Note: Merges close points so be careful.
|
||||||
|
|
||||||
Type of extrusion prescribed by run-time selectable model.
|
Type of extrusion prescribed by run-time selectable model.
|
||||||
|
|||||||
@ -23,8 +23,8 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Makes internal faces into boundary faces. Does not duplicate points. Use
|
Makes internal faces into boundary faces. Does not duplicate points, unlike
|
||||||
mergeOrSplitBaffles if you want this.
|
mergeOrSplitBaffles.
|
||||||
|
|
||||||
Note: if any coupled patch face is selected for baffling automatically
|
Note: if any coupled patch face is selected for baffling automatically
|
||||||
the opposite member is selected for baffling as well. Note that this
|
the opposite member is selected for baffling as well. Note that this
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
flattenMesh
|
flattenMesh
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Flatten the front and back planes of a 2D cartesian mesh.
|
Flattens the front and back planes of a 2D cartesian mesh.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
twoDCorr.correctPoints(points);
|
twoDCorr.correctPoints(points);
|
||||||
|
|
||||||
// Set the precision of the points data to 10
|
// Set the precision of the points data to 10
|
||||||
IOstream::defaultPrecision(10);
|
IOstream::defaultPrecision(10);
|
||||||
|
|||||||
@ -23,7 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Pick up cells with cell centre 'inside' of surface. Requires surface
|
Picks up cells with cell centre 'inside' of surface. Requires surface
|
||||||
to be closed and singly connected.
|
to be closed and singly connected.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -26,7 +26,7 @@ Application
|
|||||||
mergeOrSplitBaffles
|
mergeOrSplitBaffles
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Detect faces that share points (baffles). Either merge them or
|
Detects faces that share points (baffles). Either merge them or
|
||||||
duplicate the points.
|
duplicate the points.
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
|
|||||||
@ -23,7 +23,6 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
Mirrors a mesh around a given plane.
|
Mirrors a mesh around a given plane.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -23,9 +23,10 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Utility to refine cells in multiple directions. Either supply -all
|
Utility to refine cells in multiple directions.
|
||||||
option to refine all cells (3D refinement for 3D cases; 2D for 2D cases)
|
|
||||||
or reads a refineMeshDict with
|
Either supply -all option to refine all cells (3D refinement for 3D
|
||||||
|
cases; 2D for 2D cases) or reads a refineMeshDict with
|
||||||
- cellSet to refine
|
- cellSet to refine
|
||||||
- directions to refine
|
- directions to refine
|
||||||
|
|
||||||
|
|||||||
@ -23,8 +23,10 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Splits mesh into multiple regions. Each region is defined as a domain
|
Splits mesh into multiple regions.
|
||||||
whose cells can all be reached by cell-face-cell walking without crossing
|
|
||||||
|
Each region is defined as a domain whose cells can all be reached by
|
||||||
|
cell-face-cell walking without crossing
|
||||||
- boundary faces
|
- boundary faces
|
||||||
- additional faces from faceset (-blockedFaces faceSet).
|
- additional faces from faceset (-blockedFaces faceSet).
|
||||||
- any face inbetween differing cellZones (-cellZones)
|
- any face inbetween differing cellZones (-cellZones)
|
||||||
|
|||||||
@ -27,7 +27,10 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Transforms the mesh points in the polyMesh directory according to the
|
Transforms the mesh points in the polyMesh directory according to the
|
||||||
options:
|
translate, rotate and scale options.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
Options are:
|
||||||
|
|
||||||
-translate vector
|
-translate vector
|
||||||
Translates the points by the given vector,
|
Translates the points by the given vector,
|
||||||
|
|||||||
@ -26,9 +26,10 @@ Application
|
|||||||
reconstructParMesh
|
reconstructParMesh
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Reconstructs a mesh using geometric information only. Writes
|
Reconstructs a mesh using geometric information only.
|
||||||
point/face/cell procAddressing so afterwards reconstructPar can be used to
|
|
||||||
reconstruct fields.
|
Writes point/face/cell procAddressing so afterwards reconstructPar can be
|
||||||
|
used to reconstruct fields.
|
||||||
|
|
||||||
Note:
|
Note:
|
||||||
- uses geometric matching tolerance (set with -mergeTol option)
|
- uses geometric matching tolerance (set with -mergeTol option)
|
||||||
|
|||||||
@ -26,8 +26,11 @@ Application
|
|||||||
redistributeMeshPar
|
redistributeMeshPar
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Parallel redecomposition of mesh. Start with maximum number of processors.
|
Redistributes existing decomposed mesh and fields according to the current
|
||||||
Balances mesh and writes new mesh to new timedirectory.
|
settings in the decomposeParDict file.
|
||||||
|
|
||||||
|
Must be run on maximum number of source and destination processors.
|
||||||
|
Balances mesh and writes new mesh to new time directory.
|
||||||
|
|
||||||
Can also work like decomposePar:
|
Can also work like decomposePar:
|
||||||
|
|
||||||
|
|||||||
@ -24,6 +24,7 @@ License
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Translates foam output to GMV readable files.
|
Translates foam output to GMV readable files.
|
||||||
|
|
||||||
A free post-processor with available binaries from
|
A free post-processor with available binaries from
|
||||||
http://www-xdiv.lanl.gov/XCM/gmv/
|
http://www-xdiv.lanl.gov/XCM/gmv/
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,8 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Reader module for Fieldview9 to read Foam mesh&data.
|
Reader module for Fieldview9 to read OpenFOAM mesh and data.
|
||||||
|
|
||||||
Creates new 'fvbin' type executable which needs to be installed in place
|
Creates new 'fvbin' type executable which needs to be installed in place
|
||||||
of bin/fvbin.
|
of bin/fvbin.
|
||||||
|
|
||||||
|
|||||||
@ -23,6 +23,7 @@ License
|
|||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
Generates an .obj file to plot a probability distribution function
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -48,7 +49,7 @@ int main(int argc, char *argv[])
|
|||||||
(
|
(
|
||||||
pdf::New(pdfDictionary, rndGen)
|
pdf::New(pdfDictionary, rndGen)
|
||||||
);
|
);
|
||||||
|
|
||||||
scalar xMin = p->minValue();
|
scalar xMin = p->minValue();
|
||||||
|
|
||||||
scalar xMax = p->maxValue();
|
scalar xMax = p->maxValue();
|
||||||
|
|||||||
@ -26,7 +26,8 @@ Application
|
|||||||
CreateTurbulenceFields
|
CreateTurbulenceFields
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Creates a full setturbulence fields.
|
Creates a full set of turbulence fields.
|
||||||
|
|
||||||
- Currently does not output nut and nuTilda
|
- Currently does not output nut and nuTilda
|
||||||
|
|
||||||
Source files:
|
Source files:
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Application
|
|||||||
Description
|
Description
|
||||||
Calculates and writes the Co number as a surfaceScalarField obtained
|
Calculates and writes the Co number as a surfaceScalarField obtained
|
||||||
from field phi.
|
from field phi.
|
||||||
|
|
||||||
The -noWrite option just outputs the max values without writing the
|
The -noWrite option just outputs the max values without writing the
|
||||||
field.
|
field.
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,7 @@ Description
|
|||||||
Calculates and writes the second largest eigenvalue of the sum of the
|
Calculates and writes the second largest eigenvalue of the sum of the
|
||||||
square of the symmetrical and anti-symmetrical parts of the velocity
|
square of the symmetrical and anti-symmetrical parts of the velocity
|
||||||
gradient tensor.
|
gradient tensor.
|
||||||
|
|
||||||
The -noWrite option has no meaning.
|
The -noWrite option has no meaning.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -27,8 +27,9 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and optionally writes the local Mach number from the velocity
|
Calculates and optionally writes the local Mach number from the velocity
|
||||||
field U at each time. The -nowrite option just outputs the max value
|
field U at each time.
|
||||||
without writing the field.
|
|
||||||
|
The -nowrite option just outputs the max value without writing the field.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -28,6 +28,7 @@ Application
|
|||||||
Description
|
Description
|
||||||
Calculates and writes the Pe number as a surfaceScalarField obtained from
|
Calculates and writes the Pe number as a surfaceScalarField obtained from
|
||||||
field phi.
|
field phi.
|
||||||
|
|
||||||
The -noWrite option just outputs the max/min values without writing
|
The -noWrite option just outputs the max/min values without writing
|
||||||
the field.
|
the field.
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and writes the second invariant of the velocity gradient tensor.
|
Calculates and writes the second invariant of the velocity gradient tensor.
|
||||||
|
|
||||||
The -noWrite option just outputs the max/min values without writing
|
The -noWrite option just outputs the max/min values without writing
|
||||||
the field.
|
the field.
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and writes the enstrophy of the velocity field U.
|
Calculates and writes the enstrophy of the velocity field U.
|
||||||
|
|
||||||
The -noWrite option just outputs the max/min values without writing the
|
The -noWrite option just outputs the max/min values without writing the
|
||||||
field.
|
field.
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and writes the flowType of velocity field U.
|
Calculates and writes the flowType of velocity field U.
|
||||||
|
|
||||||
The -noWrite option has no meaning.
|
The -noWrite option has no meaning.
|
||||||
|
|
||||||
The flow type parameter is obtained according to the following equation:
|
The flow type parameter is obtained according to the following equation:
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and writes the scalar field of uprime (sqrt(2/3 k)).
|
Calculates and writes the scalar field of uprime (sqrt(2/3 k)).
|
||||||
|
|
||||||
The -noWrite option just outputs the max/min values without writing
|
The -noWrite option just outputs the max/min values without writing
|
||||||
the field.
|
the field.
|
||||||
|
|
||||||
|
|||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates and writes the vorticity of velocity field U.
|
Calculates and writes the vorticity of velocity field U.
|
||||||
|
|
||||||
The -noWrite option just outputs the max/min values without writing
|
The -noWrite option just outputs the max/min values without writing
|
||||||
the field.
|
the field.
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
applyWallFunctionBounaryConditions.C
|
|
||||||
|
|
||||||
EXE = $(FOAM_APPBIN)/applyWallFunctionBounaryConditions
|
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
applyWallFunctionBoundaryConditions.C
|
||||||
|
|
||||||
|
EXE = $(FOAM_APPBIN)/applyWallFunctionBoundaryConditions
|
||||||
@ -27,6 +27,7 @@ Application
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Updates OpenFOAM RAS cases to use the new wall function framework
|
Updates OpenFOAM RAS cases to use the new wall function framework
|
||||||
|
|
||||||
Attempts to determine whether case is compressible or incompressible, or
|
Attempts to determine whether case is compressible or incompressible, or
|
||||||
can be supplied with -compressible command line argument
|
can be supplied with -compressible command line argument
|
||||||
|
|
||||||
@ -26,8 +26,10 @@ Application
|
|||||||
changeDictionary
|
changeDictionary
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple dictionary changing tool. Can be used to e.g. change the patch
|
Utility to change dictionary entries, e.g. can be used to change the patch
|
||||||
type. Reads dictionaries (fields) and entries to change from a dictionary.
|
type in the field and polyMesh/boundary files.
|
||||||
|
|
||||||
|
Reads dictionaries (fields) and entries to change from a dictionary.
|
||||||
E.g. to make the @em movingWall a @em fixedValue for @em p, the
|
E.g. to make the @em movingWall a @em fixedValue for @em p, the
|
||||||
@c system/changeDictionaryDict would contain the following:
|
@c system/changeDictionaryDict would contain the following:
|
||||||
@verbatim
|
@verbatim
|
||||||
|
|||||||
@ -22,6 +22,9 @@ License
|
|||||||
along with OpenFOAM; if not, write to the Free Software Foundation,
|
along with OpenFOAM; if not, write to the Free Software Foundation,
|
||||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
Description
|
||||||
|
Initialises fields for a molecular dynamics (MD) simulation.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "md.H"
|
#include "md.H"
|
||||||
|
|||||||
@ -1,235 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: 1.5 |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
note "default coefficients for RAS models";
|
|
||||||
location "constant";
|
|
||||||
object RASProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
wallFunctionCoeffs
|
|
||||||
{
|
|
||||||
kappa 0.4187;
|
|
||||||
E 9;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
kEpsilonCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
C3 -0.33; // only for compressible
|
|
||||||
alphak 1.0; // only for compressible
|
|
||||||
alphaEps 0.76923;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
RNGkEpsilonCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.0845;
|
|
||||||
C1 1.42;
|
|
||||||
C2 1.68;
|
|
||||||
C3 -0.33; // only for compressible
|
|
||||||
alphak 1.39;
|
|
||||||
alphaEps 1.39;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
eta0 4.38;
|
|
||||||
beta 0.012;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
realizableKECoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
A0 4.0;
|
|
||||||
C2 1.9;
|
|
||||||
alphak 1.0;
|
|
||||||
alphaEps 0.833333;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
kOmegaSSTCoeffs
|
|
||||||
{
|
|
||||||
alphaK1 0.85034;
|
|
||||||
alphaK2 1.0;
|
|
||||||
alphaOmega1 0.5;
|
|
||||||
alphaOmega2 0.85616;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
beta1 0.075;
|
|
||||||
beta2 0.0828;
|
|
||||||
betaStar 0.09;
|
|
||||||
gamma1 0.5532;
|
|
||||||
gamma2 0.4403;
|
|
||||||
a1 0.31;
|
|
||||||
c1 10.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LaunderGibsonRSTMCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
Clg1 1.8;
|
|
||||||
Clg2 0.6;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
C1Ref 0.5;
|
|
||||||
C2Ref 0.3;
|
|
||||||
Cs 0.25;
|
|
||||||
Ceps 0.15;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
alphaEps 0.76923;
|
|
||||||
alphaR 1.22;
|
|
||||||
couplingFactor 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LaunderSharmaKECoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
C3 -0.33;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
alphahk 1.0; // only for compressible
|
|
||||||
alphaEps 0.76923;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LRRCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
Clrr1 1.8;
|
|
||||||
Clrr2 0.6;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
Cs 0.25;
|
|
||||||
Ceps 0.15;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
alphaEps 0.76923;
|
|
||||||
alphaR 1.22; // only for compressible
|
|
||||||
couplingFactor 0.0; // only for incompressible
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SpalartAllmarasCoeffs
|
|
||||||
{
|
|
||||||
Cb1 0.1355;
|
|
||||||
Cb2 0.622;
|
|
||||||
Cw2 0.3;
|
|
||||||
Cw3 2.0;
|
|
||||||
Cv1 7.1;
|
|
||||||
Cv2 5.0;
|
|
||||||
alphaNut 1.5;
|
|
||||||
alphah 1.0; // only for compressible
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
// incompressible only:
|
|
||||||
|
|
||||||
kOmegaCoeffs
|
|
||||||
{
|
|
||||||
betaStar 0.09;
|
|
||||||
alpha 0.52;
|
|
||||||
beta 0.072;
|
|
||||||
alphak 0.5;
|
|
||||||
alphaOmega 0.5;
|
|
||||||
Cmu $betaStar; // equivalent to betaStar
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LamBremhorstKECoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphaEps 0.76923;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LienCubicKECoeffs
|
|
||||||
{
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphak 1;
|
|
||||||
alphaEps 0.76923;
|
|
||||||
A1 1.25;
|
|
||||||
A2 1000;
|
|
||||||
Ctau1 -4;
|
|
||||||
Ctau2 13;
|
|
||||||
Ctau3 -2;
|
|
||||||
alphaKsi 0.9;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LienCubicKELowReCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphak 1;
|
|
||||||
alphaEps 0.76923;
|
|
||||||
A1 1.25;
|
|
||||||
A2 1000;
|
|
||||||
Ctau1 -4;
|
|
||||||
Ctau2 13;
|
|
||||||
Ctau3 -2;
|
|
||||||
alphaKsi 0.9;
|
|
||||||
Am 0.016;
|
|
||||||
Aepsilon 0.263;
|
|
||||||
Amu 0.00222;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
LienLeschzinerLowReCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphak 1;
|
|
||||||
alphaEps 0.76923;
|
|
||||||
Am 0.016;
|
|
||||||
Aepsilon 0.263;
|
|
||||||
Amu 0.00222;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
NonlinearKEShihCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09; // only for boundary conditions?
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphak 1;
|
|
||||||
alphaEps 0.76932;
|
|
||||||
A1 1.25;
|
|
||||||
A2 1000;
|
|
||||||
Ctau1 -4;
|
|
||||||
Ctau2 13;
|
|
||||||
Ctau3 -2;
|
|
||||||
alphaKsi 0.9;
|
|
||||||
}
|
|
||||||
|
|
||||||
QZetaCoeffs
|
|
||||||
{
|
|
||||||
Cmu 0.09;
|
|
||||||
C1 1.44;
|
|
||||||
C2 1.92;
|
|
||||||
alphaZeta 0.76923;
|
|
||||||
anisotropic false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: dev |
|
| \\ / O peration | Version: 1.6 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -34,11 +34,7 @@ divSchemes
|
|||||||
div(phiXi,Xi) Gauss limitedLinear01 0.1;
|
div(phiXi,Xi) Gauss limitedLinear01 0.1;
|
||||||
div(phiXi,Su) Gauss limitedLinear01 0.1;
|
div(phiXi,Su) Gauss limitedLinear01 0.1;
|
||||||
div(phiSt,b) Gauss limitedLinear01 0.1;
|
div(phiSt,b) Gauss limitedLinear01 0.1;
|
||||||
div(phi,ft) Gauss limitedLinear01 0.1;
|
div(phi,ft_b_h_hu) Gauss multivariateSelection
|
||||||
div(phi,b) Gauss limitedLinear01 0.1;
|
|
||||||
div(phi,h) Gauss limitedLinear 0.1;
|
|
||||||
div(phi,hu) Gauss limitedLinear 0.1;
|
|
||||||
div(phi,ft_b_h_hu)_0 Gauss multivariateSelection
|
|
||||||
{
|
{
|
||||||
ft limitedLinear01 0.1;
|
ft limitedLinear01 0.1;
|
||||||
b limitedLinear01 0.1;
|
b limitedLinear01 0.1;
|
||||||
|
|||||||
@ -0,0 +1,47 @@
|
|||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
|
| \\ / O peration | Version: 1.6 |
|
||||||
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object alphat;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [1 -1 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
left
|
||||||
|
{
|
||||||
|
type symmetryPlane;
|
||||||
|
}
|
||||||
|
right
|
||||||
|
{
|
||||||
|
type symmetryPlane;
|
||||||
|
}
|
||||||
|
top
|
||||||
|
{
|
||||||
|
type symmetryPlane;
|
||||||
|
}
|
||||||
|
bottom
|
||||||
|
{
|
||||||
|
type symmetryPlane;
|
||||||
|
}
|
||||||
|
frontAndBack
|
||||||
|
{
|
||||||
|
type empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: dev |
|
| \\ / O peration | Version: 1.6 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -39,7 +39,14 @@ divSchemes
|
|||||||
div(phiXi,Xi) Gauss limitedLinear 1;
|
div(phiXi,Xi) Gauss limitedLinear 1;
|
||||||
div(phiXi,Su) Gauss limitedLinear 1;
|
div(phiXi,Su) Gauss limitedLinear 1;
|
||||||
div(phiSt,b) Gauss limitedLinear01 1;
|
div(phiSt,b) Gauss limitedLinear01 1;
|
||||||
div(phi,ft_b_h_hu) Gauss multivariateSelection { fu limitedLinear01 1 ; ft limitedLinear01 1 ; b limitedLinear01 1 ; h limitedLinear 1 ; hu limitedLinear 1 ; };
|
div(phi,ft_b_h_hu) Gauss multivariateSelection
|
||||||
|
{
|
||||||
|
fu limitedLinear01 1;
|
||||||
|
ft limitedLinear01 1;
|
||||||
|
b limitedLinear01 1;
|
||||||
|
h limitedLinear 1;
|
||||||
|
hu limitedLinear 1;
|
||||||
|
};
|
||||||
div(U) Gauss linear;
|
div(U) Gauss linear;
|
||||||
div((Su*grad(b))) Gauss linear;
|
div((Su*grad(b))) Gauss linear;
|
||||||
div((U+((Su*Xi)*grad(b)))) Gauss linear;
|
div((U+((Su*Xi)*grad(b)))) Gauss linear;
|
||||||
@ -54,8 +61,8 @@ laplacianSchemes
|
|||||||
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
|
||||||
laplacian(DREff,R) Gauss linear corrected;
|
laplacian(DREff,R) Gauss linear corrected;
|
||||||
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
laplacian((rho*(1|A(U))),p) Gauss linear corrected;
|
||||||
laplacian(muEff,b) Gauss linear corrected;
|
laplacian(alphaEff,b) Gauss linear corrected;
|
||||||
laplacian(muEff,ft) Gauss linear corrected;
|
laplacian(alphaEff,ft) Gauss linear corrected;
|
||||||
laplacian(alphaEff,h) Gauss linear corrected;
|
laplacian(alphaEff,h) Gauss linear corrected;
|
||||||
laplacian(alphaEff,hu) Gauss linear corrected;
|
laplacian(alphaEff,hu) Gauss linear corrected;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: dev |
|
| \\ / O peration | Version: 1.6 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: dev |
|
| \\ / O peration | Version: 1.6 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
| ========= | |
|
| ========= | |
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||||
| \\ / O peration | Version: dev |
|
| \\ / O peration | Version: 1.6 |
|
||||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user