CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Conditionally solving governing equations in the solver

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

LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2018, 04:34
Post Conditionally solving governing equations in the solver
New Member
Ujjwal Chetan
Join Date: Oct 2018
Posts: 1
Rep Power: 0
lightMyCandle is on a distinguished road
Dear friends,
I have to add temperature equation to icoFoam solver with and without source terms to be solved conditionally in different regions, i.e.:

for region 1
energy equation + source_term =0;

for region 2
energy equation =0;

I know at which line I have to add these equations. I have done it successfully. The only issue is to write the conditions for region 1 and region 2. I don't know how to make openFoam understand x, y and z coordinate in the solver itself so that it can solve it conditionally.

It will be a great help if you guys look into the matter.

lightMyCandle is offline   Reply With Quote


conditional computation, openfoam, programming, solver development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suppress twoPhaseEulerFoam energy AlmostSurelyRob OpenFOAM Running, Solving & CFD 33 September 25, 2018 17:45
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 12:30
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07

All times are GMT -4. The time now is 12:59.