|
[Sponsors] |
How to add coupled euqations with coupled exponential term in a solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 4, 2019, 11:09 |
How to add coupled euqations with coupled exponential term in a solver
|
#1 |
New Member
Xun Lan
Join Date: Oct 2019
Posts: 21
Rep Power: 7 |
Hi, everyone.
I am new to OpenFoam and I feel so addicted when exploring. The problem I need to solve is an equation system with the frame as below: fvm::laplacian(a , X) = c*exp(X-Y) fvm::laplacian(b , Y) = -c*exp(X-Y) where a, b and c are constant coefficients. X and Y are two passive scalar fields to be solved. I have no idea how to implement it in a solver (can be laplacianFoam). My questions are: 1. How to deal with this coupled exponential equation? Should I treat it like what pisoFoam dose? 2. How to deal with the exponential source term. Should I use fvOptions? Since the second equation has the same source as equation but with negative sign. Any suggestions and answers are welcome. Thanks in advance! Last edited by Lann; November 14, 2019 at 10:29. |
|
November 5, 2019, 11:13 |
|
#2 |
New Member
Xun Lan
Join Date: Oct 2019
Posts: 21
Rep Power: 7 |
I don't know if I should use fvOption or just coupled loop to solve this equation.
Any idea is super welcomed. Thanks again |
|
November 14, 2019, 10:24 |
|
#3 |
New Member
Xun Lan
Join Date: Oct 2019
Posts: 21
Rep Power: 7 |
Now I am more clear about the linearization of the exponential terms.
But still stumped on the coupling equations. |
|
Tags |
coupled, coupled equations, exponential, fvoptions, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
No difference in solver behaviour with implicit source term | Gesetzt | OpenFOAM Programming & Development | 1 | December 10, 2017 07:14 |
Reasons for decoupling the pressure and velocity computations | highlando | Main CFD Forum | 36 | April 10, 2017 11:41 |
creating an unsteady coupled solver | m2montazari | OpenFOAM Programming & Development | 0 | March 31, 2017 10:40 |
SIMPLE with coupled solver | tladd | OpenFOAM Running, Solving & CFD | 1 | August 17, 2015 12:17 |
segregated solver vrs coupled solver | sm | FLUENT | 0 | November 6, 2007 02:24 |