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

Source Term in Pressure Equation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2018, 01:16
Unhappy Source Term in Pressure Equation
  #1
Member
 
Join Date: May 2017
Posts: 44
Rep Power: 9
bbita is on a distinguished road
Dear Foamers,

I added a source term to pressure equation at the interface in interFoam as follows:
fvScalarMatrix p_rghEqn
(
fvm::laplacian(rAUf, p_rgh) == fvc::div(phiHbyA)+pTerm
);
pTerm is attached. I observed the attached pressure distribution. Both pTerm and pressure are at the first timestep.
Pressure and velocity boundary conditions are attached.
I am wondering if this behaviour makes sense or I should observe the pressure change only around interface.

Many thanks,
Attached Images
File Type: jpg p-Term.jpg (40.6 KB, 28 views)
File Type: jpg p distribution.jpg (45.9 KB, 28 views)
Attached Files
File Type: txt p_rgh.txt (1.6 KB, 19 views)
File Type: txt U.txt (1.5 KB, 11 views)
bbita 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
Source Term due to evaporation in energy transport equation styleworker OpenFOAM Programming & Development 3 September 7, 2022 04:09
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 02:22
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57


All times are GMT -4. The time now is 22:29.