|
[Sponsors] |
Conditionally solving governing equations in the solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2018, 05:34 |
Conditionally solving governing equations in the solver
|
#1 |
New Member
Ujjwal Chetan
Join Date: Oct 2018
Posts: 2
Rep Power: 0 |
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. Thanks |
|
Tags |
conditional computation, openfoam, programming, solver development |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suppress twoPhaseEulerFoam energy | AlmostSurelyRob | OpenFOAM Running, Solving & CFD | 33 | September 25, 2018 18:45 |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 13:30 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |