Conditionally solving governing equations in the solver
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 |
All times are GMT -4. The time now is 11:23. |