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

adding scalar source term in scalarTransportFoam solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2016, 14:48
Default adding scalar source term in scalarTransportFoam solver
  #1
New Member
 
fluidflowsteel
Join Date: Jun 2016
Posts: 21
Rep Power: 9
fluidflowsteel is on a distinguished road
Hi,

I want to add scalar source term of particular magnitude (say 5 kelvin/sec) in the scalarTransportFoam solver in OF version 2.2.0 in a particular region of the geometry only. the source will be there for all time steps. How can I input the source term in the scalarTransportFoam solver ?


regards,
fluidflowsteel is offline   Reply With Quote

Old   July 25, 2016, 21:58
Default source Term
  #2
New Member
 
Fidel Vallejo
Join Date: Dec 2015
Location: Santiago
Posts: 7
Rep Power: 10
fvallejog is on a distinguished road
Quote:
Originally Posted by fluidflowsteel View Post
Hi,

I want to add scalar source term of particular magnitude (say 5 kelvin/sec) in the scalarTransportFoam solver in OF version 2.2.0 in a particular region of the geometry only. the source will be there for all time steps. How can I input the source term in the scalarTransportFoam solver ?


regards,

The best way to do it: create a scalar Field in the createField.H and in the carpet 0 you can put the values of the source term in the regions that you want
fvallejog is offline   Reply With Quote

Reply


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
Adding line source term for scalar transport by fvOptions wayne14 OpenFOAM Running, Solving & CFD 8 June 25, 2019 10:33
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 01:47
centOS 5.6 : paraFoam not working yossi OpenFOAM Installation 2 October 9, 2013 01:41
Adding additional complex source term to BuoyantBoussinesqPisoFoam solver pajofego OpenFOAM Programming & Development 2 April 9, 2013 17:00


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