Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applying pressur as a function of height

Status
Not open for further replies.

nmknop

Aerospace
Jun 26, 2008
7
I am wondering what the commands are for applying the following boundary condition:

pressure = -rho*g*h ( = -1.11772e-7*386*{y} for AIR_IN)

I want to specify pressure as a function of time. I am able to do it using the GUI but I want to run this is batch mode and haven't been able to find the commands for defining a function and loading it.

i know after i do those to things then its just d,node,pres,%name% to apply the tabular boundary condtions.

Any ideas?
 
Replies continue below

Recommended for you

*EDIT

I want specify pressure as a function of height....not time as written above.
 
See the SFFUN or SFGRAD commands. These will do exactly what you're looking for.

 
This will not work because I am using Flotran and the surface loads are hflux and conv. I need a way to specify a function on say a line where i know the pressure is a function of height.
 
Try to use the Function Editor. I presume it will work for your case.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor