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

Apply velocity dependent energy source to rhoSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2017, 13:09
Default Apply velocity dependent energy source to rhoSimpleFoam
  #1
New Member
 
Marco Nicotra
Join Date: Sep 2017
Posts: 2
Rep Power: 0
jjokocha is on a distinguished road
Dear All,

I would need your help to sort out this problem.
I need to simulate the flow through a porous heat exhanger (cellZone) with rhoSimpleFoam. I would like to add a source term (only to this cellZone) to the energy equation (field h) so that depends on the local velocity magnitude.

Specific power [W/m3] = knowValue *magU

I tried to use scalarCodedSource in fvOptions but I couldn't make it to work because I'm running on a cluster and the run time compilation of the library doesn't seem to be supported (I got this error: Cannot read (NFS mounted) library).

Does anybody can help me out with this? I would really appreciate any help.

Best regards

Marco
jjokocha is offline   Reply With Quote

Old   December 21, 2017, 12:04
Default
  #2
Senior Member
 
Taher Chegini
Join Date: Nov 2014
Location: Houston, Texas
Posts: 125
Rep Power: 12
Taataa is on a distinguished road
I had this issue and by setting fileModificationChecking in $FOAM_ETC/controlDict to inotifyMaster, the problem was resolved.
Taataa is offline   Reply With Quote

Reply

Tags
energy equation, openfoam, rhosimplefoam, source


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
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
time dependent energy source term kevinz FLUENT 0 December 12, 2011 16:45


All times are GMT -4. The time now is 23:17.