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

Method of manufactured solutions for rhoSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 18:57
Default Method of manufactured solutions for rhoSimpleFoam
  #1
New Member
 
Bruno Ramoa
Join Date: Jul 2019
Posts: 18
Rep Power: 7
brunomramoa is on a distinguished road
Hello to all,

I am trying to use the method of manufactured solutions (MS) to verify rhoSimpleFoam.

However, I am quite new to this methodology and would like to have some feedback from you guys.

rhoSimpleFoam solves the compressible navier-stokes equation (steady-state): https://openfoamwiki.net/index.php/RhoSimpleFoam

I am running a 2D case. I have manufactured a solution for u, v and density and am keeping the temperature constant at 393.15K.

I am using the perfectGas Equation of State (EoS) and a constant viscosity model (mu = 1 Pa.s).

The MS for density is inserted into the pressure equation through the fvOptions at line 63 of pEqn.H.

The MS for the momentum equation is inserted through fvOptions at line 11 of UEqn.H

My doubt is:
Should I compute a pressure term from the EoS with the MS for density and use it in the computation of the source terms for the momentum equation?
Can I keep the temperature as a constant or should also create a MS for Temperature?



Would appreciate insight into this method.


Kind regards
brunomramoa is offline   Reply With Quote

Reply


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
Method of Manufactured Solutions - Turbomachinery TurboFlo Main CFD Forum 7 September 25, 2019 19:46
double-projection method that works on non-staggered grid zx-81 Main CFD Forum 3 February 12, 2017 05:23
Turbulence inflow generation - recycling method panda60 OpenFOAM Running, Solving & CFD 15 April 25, 2013 02:34
Fluent 6.3.26 vs 12.1 and partition method Anorky FLUENT 0 April 27, 2010 11:55
Comparison: Finite Volume Method vs. Analytic Method m-fry Main CFD Forum 1 April 20, 2010 15:40


All times are GMT -4. The time now is 07:41.