how to develope a solver
i want to develop a solver by adding energy equation
to momentum equation(like adding temperature to icoFoam solver) but the difference is that the variables are coupled in these two equations for instance, viscosity in momentum equation varies with temperature in energy equation.
what should i do?
any help is appreciated.
new volScalarField nu
stick to this howTo:
3. Update your viscosity function after you solved for temperature in the TEqn.H
This should be all.
|All times are GMT -4. The time now is 05:37.|