CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Piecewise function to model time-dependant BC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2006, 03:03
Default Piecewise function to model time-dependant BC
  #1
Ramses Galaz
Guest
 
Posts: n/a
Hi

I am in the need to model the flow of blood passing through the coronary arteries. The inlet BC should be pressure driven by a typical Aortic Pressure Waveform which is a very oddly shaped function of Pressure vs. Time as some parts are linear and some quadratic or higher order.. it would be more accurate to model it as a piecewise function.

I need to know how to define piecewise functions in CEL expressions to model the time-dependant pressure at the inlet for this transient analysis.

Thanks

  Reply With Quote

Old   April 5, 2006, 03:09
Default Re: Piecewise function to model time-dependant BC
  #2
TB
Guest
 
Posts: n/a
1)Make use of the step function. You can turn on/off an equation on a particular time range.

2)Just another suggestion. Create a 2D data with time & pressure and then import it to Pre using User Function.
  Reply With Quote

Old   April 6, 2006, 11:00
Default Re: Piecewise function to model time-dependant BC
  #3
Ramses Galaz
Guest
 
Posts: n/a
Thanks

It seems that your 2nd suggestion was better and quicker..

  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
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 01:36
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 09:01.