mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Added new ceeateZeroDirectory utility
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
This commit is contained in:
@ -0,0 +1,56 @@
|
||||
/*--------------------------------*- 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 "constant";
|
||||
object caseProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
initialConditions
|
||||
{
|
||||
U uniform (0 0 0);
|
||||
p uniform 0;
|
||||
}
|
||||
|
||||
boundaryConditions
|
||||
{
|
||||
topWall
|
||||
{
|
||||
category wall;
|
||||
patches (movingWall);
|
||||
type noSlip;
|
||||
options
|
||||
{
|
||||
wallFunction highReynolds;
|
||||
motion moving;
|
||||
};
|
||||
values
|
||||
{
|
||||
U uniform (1 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
category wall;
|
||||
patches (fixedWalls);
|
||||
type noSlip;
|
||||
options
|
||||
{
|
||||
wallFunction highReynolds;
|
||||
motion stationary;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user