CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OpenFOAM solver for nonLinearAdvectionDiffusion equation (https://www.cfd-online.com/Forums/openfoam-programming-development/218995-openfoam-solver-nonlinearadvectiondiffusion-equation.html)

Rvadrabade July 11, 2019 06:14

OpenFOAM solver for nonLinearAdvectionDiffusion equation
 
While learning openfoam programming module, i documented basic solvers which represents NonLinearAdvectionDiffusion equation.

Link to Documentation: https://rvadrabade.github.io/OF/NonL...usionFoam.html

Link to test cases:
https://rvadrabade.github.io/OF/Validation_nLAD.html

Compared with c code output there is too much over and under shoot for upwind scheme and other schemes too .

Do these result are valid? Do solver needs some improvement?

Source code and test cases:

https://github.com/Rvadrabade/OpenFO...nDiffusionFoam

Aliosat December 12, 2020 15:41

reply to nonLinearAdvectionDiffusion solver results
 
It seems it should be have decrease at velocity after normal shock; however, from the result cases, there are increasing velocity!

May be there are some mistakes in defining boundary conditions.

Rvadrabade December 13, 2020 07:37

Could you suggest correct/suitable boundary condition (s)?


All times are GMT -4. The time now is 01:25.