Bounding a scalar between two limits

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 LinkBack Thread Tools Display Modes
 April 11, 2012, 11:26 Bounding a scalar between two limits #1 Senior Member   Tarak Join Date: Aug 2010 Location: State College, PA Posts: 110 Rep Power: 9 Hii, I am trying to keep a scalar solved from its transport equation between an upper and a lower limit. e.g bound(k_, k0_); after the k eqn bounds k to a lower value. Similarly I want to bound it between 2 extreme values. Please let me know if you have an idea about this. Thanks, Tarak

 April 11, 2012, 11:51 #2 Senior Member   David Gaden Join Date: Apr 2009 Location: Winnipeg, Canada Posts: 436 Rep Power: 15 GeometricFields implement max and min functions. You can use T.max(value); and T.min(value);. Note, when you apply limits, you create / destroy mass. __________________ ~~~ Follow me on twitter @DavidGaden

 April 11, 2012, 11:51 #3 Senior Member   Tarak Join Date: Aug 2010 Location: State College, PA Posts: 110 Rep Power: 9 I think using boundMinMax(k,k0_,k1_) would do it.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post vivek070176 OpenFOAM Programming & Development 10 December 24, 2014 00:48 N. A. OpenFOAM Programming & Development 2 November 13, 2014 09:43 maka OpenFOAM Running, Solving & CFD 59 October 22, 2014 14:52 Unseen OpenFOAM Running, Solving & CFD 7 April 16, 2014 03:38 chegdan OpenFOAM Running, Solving & CFD 1 January 2, 2012 20:35

All times are GMT -4. The time now is 23:40.

 Contact Us - CFD Online - Privacy Statement - Top