ENH: flowRateVelocityInlet: fall back to rhoInlet

This commit is contained in:
mattijs
2012-09-24 12:00:52 +01:00
parent beb2943d8e
commit e1b6dfa6eb
4 changed files with 32 additions and 23 deletions

View File

@ -33,17 +33,13 @@ boundaryField
{
type flowRateInletVelocity;
massFlowRate constant 0.00379;
//volumetricFlowRate constant 0.00379;
rhoInlet 1.0;
value uniform (0 14.68 0);
rhoInlet 1.0; // fallback value for e.g. potentialFoam
}
inletSides
{
type flowRateInletVelocity;
massFlowRate constant 0.00832;
//volumetricFlowRate constant 0.00832;
rhoInlet 1.0;
value uniform (0 17.79 0);
rhoInlet 1.0; // fallback value for e.g. potentialFoam
}
outlet
{

View File

@ -14,9 +14,6 @@ runApplication potentialFoam
rm -f 0/phi
# change flowRateInletVelocity to massFlowRate
runApplication changeDictionary
# run the solver
runApplication `getApplication`