CFD Online Logo CFD Online URL
Home > Forums > CFX

Piecewise function to model time-dependant BC

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 5, 2006, 02:03
Default Piecewise function to model time-dependant BC
Ramses Galaz
Posts: n/a

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.


  Reply With Quote

Old   April 5, 2006, 02:09
Default Re: Piecewise function to model time-dependant BC
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, 10:00
Default Re: Piecewise function to model time-dependant BC
Ramses Galaz
Posts: n/a

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

  Reply With Quote


Thread Tools
Display Modes

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 On
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 04: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 20:50
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00

All times are GMT -4. The time now is 20:58.