mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: flowRateVelocityInlet: fall back to rhoInlet
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
@ -14,9 +14,6 @@ runApplication potentialFoam
|
||||
|
||||
rm -f 0/phi
|
||||
|
||||
# change flowRateInletVelocity to massFlowRate
|
||||
runApplication changeDictionary
|
||||
|
||||
# run the solver
|
||||
runApplication `getApplication`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user