mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://dm/home/dm4/OpenFOAM/repositories/OpenFOAM-dev
This commit is contained in:
31
etc/templates/boundaryConditions/boundaries
Normal file
31
etc/templates/boundaryConditions/boundaries
Normal file
@ -0,0 +1,31 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object boundaries;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
fluid
|
||||
(
|
||||
inlet
|
||||
outlet
|
||||
wall
|
||||
);
|
||||
|
||||
solid
|
||||
(
|
||||
wall
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
48
etc/templates/boundaryConditions/fluid/buoyant/inlet
Normal file
48
etc/templates/boundaryConditions/fluid/buoyant/inlet
Normal file
@ -0,0 +1,48 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
value ${:VALUE.p_rgh};
|
||||
}
|
||||
T
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
mut
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.mut};
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.alphat};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
77
etc/templates/boundaryConditions/fluid/buoyant/inletOptions
Normal file
77
etc/templates/boundaryConditions/fluid/buoyant/inletOptions
Normal file
@ -0,0 +1,77 @@
|
||||
l/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
flowSpecification
|
||||
{
|
||||
fixedPressure
|
||||
{
|
||||
U
|
||||
{
|
||||
type pressureInletVelocity;
|
||||
value ${:inlet.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:inlet.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:inlet.p_rgh};
|
||||
}
|
||||
}
|
||||
fixedVelocity
|
||||
{
|
||||
U
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:inlet.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
flowRate
|
||||
{
|
||||
U
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
massFlowRate ${:VALUE.massFlowRate};
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
value ${:VALUE.p_rgh};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
47
etc/templates/boundaryConditions/fluid/buoyant/outlet
Normal file
47
etc/templates/boundaryConditions/fluid/buoyant/outlet
Normal file
@ -0,0 +1,47 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object outlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
T
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue ${:VALUE.T};
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.p_rgh};
|
||||
}
|
||||
mut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
58
etc/templates/boundaryConditions/fluid/buoyant/wall
Normal file
58
etc/templates/boundaryConditions/fluid/buoyant/wall
Normal file
@ -0,0 +1,58 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wall;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
noSlip
|
||||
{
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
value ${:VALUE.p_rgh};
|
||||
}
|
||||
OPTIONS (wallFunction motion heatTransfer);
|
||||
}
|
||||
|
||||
|
||||
slip
|
||||
{
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
value ${:VALUE.p_rgh};
|
||||
}
|
||||
mut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
OPTIONS (heatTransfer);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
80
etc/templates/boundaryConditions/fluid/buoyant/wallOptions
Normal file
80
etc/templates/boundaryConditions/fluid/buoyant/wallOptions
Normal file
@ -0,0 +1,80 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wallOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
wallFunction
|
||||
{
|
||||
highReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type compressible::mutkWallFunction;
|
||||
value ${:VALUE.mut};
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type compressible::alphatWallFunction;
|
||||
value ${:VALUE.alphat};
|
||||
}
|
||||
}
|
||||
lowReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
heatTransfer
|
||||
{
|
||||
adiabatic
|
||||
{
|
||||
T
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
fixedTemperature
|
||||
{
|
||||
T
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
}
|
||||
thermalCoupled
|
||||
{
|
||||
T
|
||||
{
|
||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||
value ${:VALUE.T};
|
||||
Tnbr T;
|
||||
kappa fluidThermo;
|
||||
kappaName none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
38
etc/templates/boundaryConditions/fluid/compressible/inlet
Normal file
38
etc/templates/boundaryConditions/fluid/compressible/inlet
Normal file
@ -0,0 +1,38 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
T
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
mut
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.mut};
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.alphat};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,54 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inletOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
flowSpecification
|
||||
{
|
||||
fixedTotalPressure
|
||||
{
|
||||
U
|
||||
{
|
||||
type pressureInletVelocity;
|
||||
value ${:inlet.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type totalPressure;
|
||||
U U;
|
||||
phi phi;
|
||||
rho rho;
|
||||
psi none;
|
||||
gamma 1;
|
||||
p0 ${:inlet.p};
|
||||
value ${:inlet.p};
|
||||
}
|
||||
}
|
||||
flowRate
|
||||
{
|
||||
U
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
massFlowRate ${:VALUE.massFlowRate};
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
37
etc/templates/boundaryConditions/fluid/compressible/outlet
Normal file
37
etc/templates/boundaryConditions/fluid/compressible/outlet
Normal file
@ -0,0 +1,37 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object outlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
T
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue ${:VALUE.T};
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
mut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
39
etc/templates/boundaryConditions/fluid/compressible/wall
Normal file
39
etc/templates/boundaryConditions/fluid/compressible/wall
Normal file
@ -0,0 +1,39 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wall;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
noSlip
|
||||
{
|
||||
OPTIONS (wallFunction motion heatTransfer);
|
||||
}
|
||||
|
||||
|
||||
slip
|
||||
{
|
||||
mut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
OPTIONS (heatTransfer);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,80 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wallOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
wallFunction
|
||||
{
|
||||
highReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type compressible::mutkWallFunction;
|
||||
value ${:VALUE.nut};
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type compressible::alphatWallFunction;
|
||||
value ${:VALUE.alphat};
|
||||
}
|
||||
}
|
||||
lowReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
heatTransfer
|
||||
{
|
||||
adiabatic
|
||||
{
|
||||
T
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
fixedTemperature
|
||||
{
|
||||
T
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
}
|
||||
thermalCoupled
|
||||
{
|
||||
T
|
||||
{
|
||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||
value ${:VALUE.T};
|
||||
Tnbr T;
|
||||
kappa fluidThermo;
|
||||
kappaName none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
28
etc/templates/boundaryConditions/fluid/incompressible/inlet
Normal file
28
etc/templates/boundaryConditions/fluid/incompressible/inlet
Normal file
@ -0,0 +1,28 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
nut
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.nut};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,54 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inletOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
flowSpecification
|
||||
{
|
||||
fixedTotalPressure
|
||||
{
|
||||
U
|
||||
{
|
||||
type pressureInletVelocity;
|
||||
value ${:inlet.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type totalPressure;
|
||||
U U;
|
||||
phi phi;
|
||||
rho none;
|
||||
psi none;
|
||||
gamma 1;
|
||||
p0 ${:inlet.p};
|
||||
value ${:inlet.p};
|
||||
}
|
||||
}
|
||||
flowRate
|
||||
{
|
||||
U
|
||||
{
|
||||
type flowRateInletVelocity;
|
||||
volumeFlowRate ${:VALUE.volumeFlowRate};
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
36
etc/templates/boundaryConditions/fluid/incompressible/outlet
Normal file
36
etc/templates/boundaryConditions/fluid/incompressible/outlet
Normal file
@ -0,0 +1,36 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object outlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
nut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
subSonicNoReturn
|
||||
{
|
||||
nut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
27
etc/templates/boundaryConditions/fluid/incompressible/wall
Normal file
27
etc/templates/boundaryConditions/fluid/incompressible/wall
Normal file
@ -0,0 +1,27 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wall;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
slip
|
||||
{
|
||||
nut
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -0,0 +1,39 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wallOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
wallFunction
|
||||
{
|
||||
highReynolds
|
||||
{
|
||||
nut
|
||||
{
|
||||
type nutkWallFunction;
|
||||
value ${:VALUE.nut};
|
||||
}
|
||||
}
|
||||
lowReynolds
|
||||
{
|
||||
nut
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/templates/boundaryConditions/fluid/inlet
Normal file
40
etc/templates/boundaryConditions/fluid/inlet
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
k
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.k};
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.epsilon};
|
||||
}
|
||||
omega
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.omega};
|
||||
}
|
||||
|
||||
OPTIONS (flowSpecification);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
47
etc/templates/boundaryConditions/fluid/inletOptions
Normal file
47
etc/templates/boundaryConditions/fluid/inletOptions
Normal file
@ -0,0 +1,47 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object inletOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
flowSpecification
|
||||
{
|
||||
fixedPressure
|
||||
{
|
||||
U
|
||||
{
|
||||
type pressureInletVelocity;
|
||||
value ${:inlet.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:inlet.p};
|
||||
}
|
||||
}
|
||||
fixedVelocity
|
||||
{
|
||||
U
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
p
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
42
etc/templates/boundaryConditions/fluid/outlet
Normal file
42
etc/templates/boundaryConditions/fluid/outlet
Normal file
@ -0,0 +1,42 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object outlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
subSonic
|
||||
{
|
||||
p
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.p};
|
||||
}
|
||||
k
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
omega
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
OPTIONS (returnFlow);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/templates/boundaryConditions/fluid/outletOptions
Normal file
40
etc/templates/boundaryConditions/fluid/outletOptions
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object outlet;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
returnFlow
|
||||
{
|
||||
default
|
||||
{
|
||||
U
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
}
|
||||
wall
|
||||
{
|
||||
U
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue uniform (0 0 0);
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
54
etc/templates/boundaryConditions/fluid/wall
Normal file
54
etc/templates/boundaryConditions/fluid/wall
Normal file
@ -0,0 +1,54 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wall;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
noSlip
|
||||
{
|
||||
p
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
OPTIONS (wallFunction motion);
|
||||
}
|
||||
|
||||
|
||||
slip
|
||||
{
|
||||
U
|
||||
{
|
||||
type slip;
|
||||
}
|
||||
p
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
k
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
omega
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
79
etc/templates/boundaryConditions/fluid/wallOptions
Normal file
79
etc/templates/boundaryConditions/fluid/wallOptions
Normal file
@ -0,0 +1,79 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wallOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
wallFunction
|
||||
{
|
||||
highReynolds
|
||||
{
|
||||
k
|
||||
{
|
||||
type kqRWallFunction;
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value ${:VALUE.epsilon};
|
||||
}
|
||||
omega
|
||||
{
|
||||
type omegaWallFunction;
|
||||
value ${:VALUE.omega};
|
||||
}
|
||||
}
|
||||
lowReynolds
|
||||
{
|
||||
k
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
omega
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 1e-8;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
motion
|
||||
{
|
||||
stationary
|
||||
{
|
||||
U
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
}
|
||||
moving
|
||||
{
|
||||
U
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.U};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
30
etc/templates/boundaryConditions/solid/wall
Normal file
30
etc/templates/boundaryConditions/solid/wall
Normal file
@ -0,0 +1,30 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wall;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
thermal
|
||||
{
|
||||
p
|
||||
{
|
||||
type calculated;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
|
||||
OPTIONS (heatTransfer);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
80
etc/templates/boundaryConditions/solid/wallOptions
Normal file
80
etc/templates/boundaryConditions/solid/wallOptions
Normal file
@ -0,0 +1,80 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object wallOptions;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
wallFunction
|
||||
{
|
||||
highReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type compressible::mutkWallFunction;
|
||||
value ${:VALUE.nut};
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type compressible::alphatWallFunction;
|
||||
value ${:VALUE.alphat};
|
||||
}
|
||||
}
|
||||
lowReynolds
|
||||
{
|
||||
mut
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
alphat
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
heatTransfer
|
||||
{
|
||||
adiabatic
|
||||
{
|
||||
T
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
}
|
||||
fixedTemperature
|
||||
{
|
||||
T
|
||||
{
|
||||
type fixedValue;
|
||||
value ${:VALUE.T};
|
||||
}
|
||||
}
|
||||
thermalCoupled
|
||||
{
|
||||
T
|
||||
{
|
||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||
value ${:VALUE.T};
|
||||
Tnbr T;
|
||||
kappa solidThermo;
|
||||
kappaName none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
55
etc/templates/models/turbulence/kEpsilon
Normal file
55
etc/templates/models/turbulence/kEpsilon
Normal file
@ -0,0 +1,55 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object kEpsilon;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
incompressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -3 0 0];
|
||||
}
|
||||
nut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -1 0 0];
|
||||
}
|
||||
}
|
||||
compressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
epsilon
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -3 0 0];
|
||||
}
|
||||
mut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -1 0 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
55
etc/templates/models/turbulence/kOmega
Normal file
55
etc/templates/models/turbulence/kOmega
Normal file
@ -0,0 +1,55 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object kOmega;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
incompressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
omega
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 -1 0 0];
|
||||
}
|
||||
nut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -1 0 0];
|
||||
}
|
||||
}
|
||||
compressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
omega
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 -1 0 0];
|
||||
}
|
||||
mut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -1 0 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
55
etc/templates/models/turbulence/kOmegaSST
Normal file
55
etc/templates/models/turbulence/kOmegaSST
Normal file
@ -0,0 +1,55 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object kOmega;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
incompressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
omega
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 -1 0 0];
|
||||
}
|
||||
nut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -1 0 0];
|
||||
}
|
||||
}
|
||||
compressibleFields
|
||||
{
|
||||
k
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
omega
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 -1 0 0];
|
||||
}
|
||||
mut
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -1 0 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
25
etc/templates/models/turbulence/laminar
Normal file
25
etc/templates/models/turbulence/laminar
Normal file
@ -0,0 +1,25 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object laminar;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
incompressibleFields
|
||||
{
|
||||
}
|
||||
compressibleFields
|
||||
{
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
70
etc/templates/solvers/chtMultiRegionFoam
Normal file
70
etc/templates/solvers/chtMultiRegionFoam
Normal file
@ -0,0 +1,70 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object chtMultiRegionFoam;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solverType buoyant;
|
||||
|
||||
multiRegion yes;
|
||||
|
||||
fluidModels
|
||||
{
|
||||
turbulenceModel turbulenceModel;
|
||||
}
|
||||
|
||||
fluidFields
|
||||
{
|
||||
alphat
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -1 0 0];
|
||||
}
|
||||
U
|
||||
{
|
||||
type vector;
|
||||
dimensions [0 1 -1 0 0];
|
||||
}
|
||||
p
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -2 0 0];
|
||||
}
|
||||
p_rgh
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -2 0 0];
|
||||
}
|
||||
T
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 0 1 0];
|
||||
}
|
||||
}
|
||||
|
||||
solidFields
|
||||
{
|
||||
p
|
||||
{
|
||||
type scalar;
|
||||
dimensions [1 -1 -2 0 0];
|
||||
}
|
||||
T
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 0 0 1 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
40
etc/templates/solvers/icoFoam
Normal file
40
etc/templates/solvers/icoFoam
Normal file
@ -0,0 +1,40 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object icoFoam;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solverType incompressible;
|
||||
|
||||
multiRegion no;
|
||||
|
||||
fluidModels
|
||||
{
|
||||
}
|
||||
|
||||
fluidFields
|
||||
{
|
||||
U
|
||||
{
|
||||
type vector;
|
||||
dimensions [0 1 -1 0 0];
|
||||
}
|
||||
p
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
41
etc/templates/solvers/simpleFoam
Normal file
41
etc/templates/solvers/simpleFoam
Normal file
@ -0,0 +1,41 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: 2.2.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.org |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "templates";
|
||||
object simpleFoam;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
solverType incompressible;
|
||||
|
||||
multiRegion no;
|
||||
|
||||
fluidModels
|
||||
{
|
||||
turbulenceModel RASModel;
|
||||
}
|
||||
|
||||
fluidFields
|
||||
{
|
||||
U
|
||||
{
|
||||
type vector;
|
||||
dimensions [0 1 -1 0 0];
|
||||
}
|
||||
p
|
||||
{
|
||||
type scalar;
|
||||
dimensions [0 2 -2 0 0];
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user