CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

compressible solver with different source codes on boundary

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2023, 10:59
Exclamation compressible solver with different source codes on boundary
Senior Member
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5
qutadah.r is on a distinguished road

so i am trying to build a solver that will include extra source terms on the boundaries. I would like to know if it is generally possible with openfoam, and if yes a guide to how to implement this.

The extra source terms on the boundaries will appear in the mass and energy equations.

It is a compressible transient problem with heat transfer and heat exchange with cold helium bath. So there will also be an extra energy equation.

One way i was thinking to go about this is implementing a custom boundary condition, such that the mass equation is equal to the extra source term, as well as the energy equation to be equal to the extra source term.

Would this work?


Last edited by qutadah.r; March 2, 2023 at 11:01. Reason: extra info
qutadah.r is offline   Reply With Quote


rhocentralfoam, rhopimplefoam, solver development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28

All times are GMT -4. The time now is 08:56.