CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to set a boundary condition as a function respect to time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2005, 04:32
Default Hi, everybody. I want to si
  #1
New Member
 
Martin/Run DU
Join Date: Mar 2009
Location: Hong Kong
Posts: 25
Rep Power: 17
chnrdu is on a distinguished road
Send a message via Skype™ to chnrdu
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?
__________________
rdu
------------------
Martin/Run Du
chnrdu is offline   Reply With Quote

Old   June 15, 2005, 04:43
Default please start by searching this
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
please start by searching this forum.
keywords: transient boundary

N
niklas is offline   Reply With Quote

Old   June 17, 2005, 04:18
Default Thank u, N. But when I make a
  #3
New Member
 
Martin/Run DU
Join Date: Mar 2009
Location: Hong Kong
Posts: 25
Rep Power: 17
chnrdu is on a distinguished road
Send a message via Skype™ to chnrdu
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.
__________________
rdu
------------------
Martin/Run Du
chnrdu is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to apply a function as boundary condition coompressor OpenFOAM Running, Solving & CFD 9 February 12, 2009 10:22
How to apply a function as boundary condition coompressor OpenFOAM Running, Solving & CFD 0 January 13, 2009 03:50
tracking data with respect to time tucker FLUENT 2 December 20, 2005 08:39
Variable input with respect to time Prafull Gandhi CFX 2 September 4, 2005 08:36
Random function UDF for boundary condition Chris FLUENT 4 March 28, 2003 15:38


All times are GMT -4. The time now is 04:03.