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

how to add the heatsource with fvOptions (The OpenFOAM Foundation edition)

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Yann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2024, 04:49
Default how to add the heatsource with fvOptions (The OpenFOAM Foundation edition)
  #1
New Member
 
LIYAFEI
Join Date: May 2022
Posts: 8
Rep Power: 4
LIYAFEI is on a distinguished road
Hello everyone


I wanna add a heat source in the region heater.
But with the new edition openfoam11, the code is different from before.


It is a ring heater with volume 0.03 cm3 and power 1kW .



So I write the code as follow:


heatSource
{
type semiImplicitSource;
active true;
selectionMode all;
volumeMode absolute;
sources
{
e
{
explicit 1000;
implicit 0;
}
}
}


and save it in the /constant/heater/fvOptions


But from the results, the temperature did not increase.


I am not sure where is wrong.


Thank you very much
LIYAFEI is offline   Reply With Quote

Old   February 8, 2024, 05:35
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27
Yann will become famous soon enough
Hello,

In the OpenFOAM foundation branch, fvOptions have been replaced by fvModels and fvConstraints since OpenFOAM-9.

Try typing this in your terminal to get more information and examples:
Code:
foamInfo heatSource
Cheers,
Yann
dlahaye and ibitscholar like this.
Yann is offline   Reply With Quote

Reply

Tags
heatsource fvoptions


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
How to add turbulence model and VOF to a new two-step projection OpenFOAM solver Msure OpenFOAM Programming & Development 2 November 3, 2022 15:24
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 03:18
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 13:36
OpenFOAM Foundation Releases OpenFOAMŪ Version 2.1.1 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 May 31, 2012 09:07


All times are GMT -4. The time now is 21:42.