CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM solver for nonLinearAdvectionDiffusion equation

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Rvadrabade
  • 1 Post By Aliosat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2019, 07:14
Default OpenFOAM solver for nonLinearAdvectionDiffusion equation
  #1
Member
 
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8
Rvadrabade is on a distinguished road
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 likes this.
Rvadrabade is offline   Reply With Quote

Old   December 12, 2020, 16:41
Default reply to nonLinearAdvectionDiffusion solver results
  #2
New Member
 
Aliosat
Join Date: Jun 2019
Location: Iran
Posts: 2
Rep Power: 0
Aliosat is on a distinguished road
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 likes this.
Aliosat is offline   Reply With Quote

Old   December 13, 2020, 08:37
Default
  #3
Member
 
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8
Rvadrabade is on a distinguished road
Could you suggest correct/suitable boundary condition (s)?
Rvadrabade is offline   Reply With Quote

Reply

Tags
advection scheme, burgers equation, openfoam 5.0, openfoam programming


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
suGWFoam: Richards equation solver for porous media flows liu OpenFOAM Announcements from Other Sources 4 February 10, 2021 16:14
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
Solving Advection-reaction Equation using OpenFoam arijith OpenFOAM Programming & Development 1 October 13, 2014 11:02
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
OpenCL linear solver for OpenFoam 1.7 (alpha) will come out very soon qinmaple OpenFOAM Announcements from Other Sources 4 August 10, 2012 12:00


All times are GMT -4. The time now is 16:27.