CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Piecewise function for properties

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By SamZar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2014, 11:08
Question Piecewise function for properties
  #1
New Member
 
Join Date: Jul 2014
Posts: 13
Rep Power: 11
P1361 is on a distinguished road
Hi everybody,

I want to use buoyantPimpleFoam solver in OF 2.22 for buoyancy driven flow of a fluid with temperature-dependent thermal/transport properties.

I have two questions now:

- for the equation of state, is it okay to use icoPolynomial? I believe, since the solver is pressure-based and my variations of density with pressure are negligible for my case, it should work. Any objection?

- my property functions (almost all of them) are kind of complex, so that a single polynomial (even of order 8-9) does not really yield satisfactory approximations. I want to use piecewise polynomial (or possibly another function) instead. Any suggestion of where to start?

Thank you very much in advance.

P
P1361 is offline   Reply With Quote

Old   May 14, 2019, 11:30
Default
  #2
New Member
 
Join Date: May 2019
Posts: 4
Rep Power: 6
SamZar is on a distinguished road
Hi,


I have noticed that this is an old thread. But I have the same issue: how can I define a piecewise function for propeties as a function of temperature in OpenFOAM?


Hope I can find my answer. Thanks.
fuad likes this.
SamZar is offline   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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


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