Files
OpenFOAM-12/tutorials/fluid/squareBend/0/U
2024-07-06 16:02:47 +01:00

44 lines
1.1 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
walls
{
type noSlip;
}
inlet
{
type flowRateInletVelocity;
massFlowRate constant 0.5;
rhoInlet 0.5; // Guess for rho
profile turbulentBL;
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
}
// ************************************************************************* //