mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Uses a system/caseProperties file to select templates from etc/caseDicts/createZeroDirectoryTemplates to enable high-level setup of a case. See - etc/caseDicts/createZeroDirectoryTemplates - tutorials/preProcessing/createZeroDirectory
118 lines
2.9 KiB
C++
118 lines
2.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "templates";
|
|
object outletOptions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
returnFlow
|
|
{
|
|
default
|
|
{
|
|
p
|
|
{
|
|
type fixedValue;
|
|
value ${:VALUE.p};
|
|
}
|
|
U
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value ${:VALUE.U};
|
|
}
|
|
k
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.k};
|
|
value ${:VALUE.k};
|
|
}
|
|
epsilon
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.epsilon};
|
|
value ${:VALUE.epsilon};
|
|
}
|
|
omega
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.omega};
|
|
value ${:VALUE.omega};
|
|
}
|
|
}
|
|
wall
|
|
{
|
|
p
|
|
{
|
|
type fixedValue;
|
|
value ${:VALUE.p};
|
|
}
|
|
U
|
|
{
|
|
type inletOutlet;
|
|
inletValue uniform (0 0 0);
|
|
value ${:VALUE.U};
|
|
}
|
|
k
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
epsilon
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
omega
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
}
|
|
atmosphere
|
|
{
|
|
p
|
|
{
|
|
type totalPressure;
|
|
U U;
|
|
phi phi;
|
|
rho none;
|
|
psi none;
|
|
gamma 1;
|
|
p0 ${:VALUE.p};
|
|
value ${:VALUE.p};
|
|
}
|
|
U
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value ${:VALUE.U};
|
|
}
|
|
k
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.k};
|
|
value ${:VALUE.k};
|
|
}
|
|
epsilon
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.epsilon};
|
|
value ${:VALUE.epsilon};
|
|
}
|
|
omega
|
|
{
|
|
type inletOutlet;
|
|
inletValue ${:VALUE.omega};
|
|
value ${:VALUE.omega};
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|