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

compressible solver with different source codes on boundary

Register Blogs Community New Posts Updated Threads Search

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


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?



Thanks!

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

Reply

Tags
rhocentralfoam, rhopimplefoam, solver development


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


All times are GMT -4. The time now is 15:04.