CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to set a boundary condition as a function respect to time (https://www.cfd-online.com/Forums/openfoam-solving/60576-how-set-boundary-condition-function-respect-time.html)

chnrdu June 15, 2005 04:32

Hi, everybody. I want to si
 
Hi, everybody.

I want to simulation a dynamic process of vibration of a pipe.on the one side, I'd like to set the boundary's pressure as a function respect to time. how should I do?

niklas June 15, 2005 04:43

please start by searching this
 
please start by searching this forum.
keywords: transient boundary

N

chnrdu June 17, 2005 04:18

Thank u, N. But when I make a
 
Thank u, N.
But when I make a data file in the same way. there is a error:

Create time
Create mesh for time = 0
Reading thermodynamicProperties
Reading transportProperties
Reading field p


--> FOAM FATAL IO ERROR : IOstream::check(const char* operation) : error in IOstream "inletPressure.dat" for operation Istream::operator()

file: inletPressure.dat at line 1.

Function: IOstream::check(const char* operation) const
in file: db/IOstreams/IOstreams/IOcheck.C at line: 54.

FOAM exiting


MY data file is the following style:

(
t0 p0
t1 p1
...
tN pN
)

What's wrong?

Thanks in advance.


All times are GMT -4. The time now is 02:15.