CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Unsteady total pressure (https://www.cfd-online.com/Forums/openfoam/63916-unsteady-total-pressure.html)

sahas April 23, 2009 08:29

Unsteady total pressure
 
Hello everyone!

Does anybody know how to set unsteady boundary condition with total pressure? In other words, I want to specify inlet with varying in time total pressure.
I use OpenFOAM 3.3-cvs.

rassilon May 6, 2009 03:18

Quote:

Originally Posted by sahas (Post 213912)
Hello everyone!

Does anybody know how to set unsteady boundary condition with total pressure? In other words, I want to specify inlet with varying in time total pressure.
I use OpenFOAM 3.3-cvs.


I too am working on a problem similar to this. I have tried referencing an external file with my pressure values in for each time step, but have had little success thus far. I have tried the following syntax in p:

Quote:


inlet
{

type totalPressure
p0 DataFileName "file.dat"

}
But it hasn't worked. I have tried a number of variations on this, however largely I receive an error about outOfBounds being undefined within p.

If anybody else can help us, that would be fantastic.


R


All times are GMT -4. The time now is 17:32.