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

Heat source using fvOptions in laplacianFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By osha
  • 2 Post By osha

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 17, 2014, 07:09
Default Heat source using fvOptions in laplacianFoam
  #1
New Member
 
Kalli
Join Date: Jul 2014
Posts: 9
Rep Power: 11
osha is on a distinguished road
Hello Foamers,

I am working on a solid conduction problem using laplacianFoam where I wish to add a heat generation term Q [W/m^3] on selected cells (using topoSet) in the mesh. I have modified the laplacianFoam in following way:

Quote:
fvm::ddt(T) - fvm::laplacian(DT, T) - fvOptions(T)
But I need to apply the heat generation term which I intend to keep constant. I am not sure how I achieve that with the above formulation.


After reading on fvOptions, I realized that I could use scalarExplicitSetValue to define a scalar explicit source. But this method will only fix temperature in the selected cellZone whereas I intend to fix the heat generation rate.


I do not intend to define the heat generation region in geometry this is why fvOption is more suitable for my problem. I am looking forward to your insights.

Thank you.
tilasoldo and marcoberna23 like this.
osha is offline   Reply With Quote

 

Tags
conduction, fvoptions, heat generation rate, laplacianfoam


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 without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 13, 2000 23:03
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 11, 2000 03:43


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