CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   how to simulate pump or fan trip or shut off (https://www.cfd-online.com/Forums/openfoam-pre-processing/233019-how-simulate-pump-fan-trip-shut-off.html)

mwmalkawi January 10, 2021 14:15

how to simulate pump or fan trip or shut off
 
ow can i trip a fan i think it can be done using codedfixed but the challenge i am using fanPressure for p_rgh below are my U and p_rgh case files



U File



boundaryField
{
wall
{
type noSlip;
}


inlet1
{
type pressureInletOutletVelocity; // to apply fanPressure boundary type
value uniform (0 0 0);
}
}



outlet1
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);

}

}

p_rgh FIle

boundaryField
{


wall
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 0;
}

outlet1
{
type fixedValue;
value uniform 0;
}

inlet1
{
type fanPressure;
patchType totalPressure;
file "<constant>/pumpCurve.dat";
outOfBounds clamp; // (error|warn|clamp|repeat)
direction in; // Direction of flow through fan
p0 uniform 0; // Environmental total pressure
value uniform 0;
}

}


All times are GMT -4. The time now is 18:21.