|
[Sponsors] |
July 17, 2019, 17:35 |
Nonlinear Transient Term
|
#1 |
New Member
Bruno
Join Date: Jul 2018
Posts: 6
Rep Power: 8 |
Hello,
I would like to solve one equations system as follows: + ( ) = 0 (Eq. 1) + ( ) = 0 (Eq. 2) where is a nonlinear function (e.g. ). How may I implement this system in the OpenFOAM. My main problem is handling the nonlinear term. Can I write this piece of code: Solve ( fvm::ddt(phi_1) + fvc::div(v,phi_1) ); Solve ( fvm::ddt(phi_1*phi_2+f(phi_2)) + fvc::div(v,phi_2) ); or Solve ( fvm::ddt(phi_1*phi_2) + fvm::ddt(f(phi_2)) + fvc::div(v,phi_2) ); I assumed the velocity field is known. Thanks in advance. |
|
Tags |
implementing new solver, nonlinear terms, system coupling |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
viscosity term in discetrization momentum equation | hans-186 | Main CFD Forum | 4 | April 1, 2013 14:34 |
How to define a transient species source term? | aleisia | FLUENT | 3 | March 7, 2011 23:58 |
Large source term in species equation | MACFD | FLUENT | 4 | January 4, 2011 15:16 |
Transient term discretisation scheme | Batis | CFX | 2 | August 23, 2010 21:17 |
bouyancy term in epsilon equation | Michael | Main CFD Forum | 1 | June 25, 1999 11:20 |