×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Applying pressur as a function of height

Applying pressur as a function of height

Applying pressur as a function of height

(OP)
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?

RE: Applying pressur as a function of height

(OP)
*EDIT

I want specify pressure as a function of height....not time as written above.

RE: Applying pressur as a function of height

See the SFFUN or SFGRAD commands.  These will do exactly what you're looking for.

 

RE: Applying pressur as a function of height

(OP)
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.

RE: Applying pressur as a function of height

Try to use the Function Editor. I presume it will work for your case.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources