CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Integrate nonlinear Quation (http://www.cfd-online.com/Forums/openfoam-programming-development/93813-integrate-nonlinear-quation.html)

Thilo October 27, 2011 04:53

Integrate nonlinear Equation
 
Hi everyone!

I have a nonlinear set of equations of an acoustic velocity and density which are defined as:

fvVectorMatrix aUEqn
(
fvm::ddt(aU)
+ fvm::div(ac_phi,aU)
);

and

fvScalarMatrix aRhoEqn
(
fvm::ddt(aRho)
+ fvc::div(aU)
);

with

ac_phi = (fvc::interpolate(aRho * U) & mesh.Sf());

Can someone please tell me how I can iterate the solution to a final minimal residual of all variables?

Thank you very much in advanced,

Thilo


All times are GMT -4. The time now is 13:06.