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

Individual Heat Generation Terms using fvOptions

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2016, 00:55
Default Individual Heat Generation Terms using fvOptions
  #1
New Member
 
Anon
Join Date: May 2016
Posts: 1
Rep Power: 0
squigglyteeth is on a distinguished road
Hello,

I am running an simulation where I require heat generation in a fluid flow. Currently I am using buoyantSimpleFoam however, I believe this problem can be expanded to all solvers that have fvOptions implemented. I am implementing my heat generation terms by using the points terminology and the scalarSemiImplicitSource. My goal is to have a list of points and then there respective heat generation terms as well. (Below I have given an example with two points). The issue is that the points only use the first heat generation term, i.e. the (10 0). I have tried putting them into a list as well, i.e. h ((10 0) (1000 0)). However that just errors out OpenFOAM, with the error being that it expects a scalar instead of (. Is there any way around this with out having list a different source for each heat generation source?

Code:
 source1
{
    type            scalarSemiImplicitSource;
    active          yes;
    
    
    scalarSemiImplicitSourceCoeffs
    {
    selectionMode   points;
        points
        (
        (0.5 0.5 0)
        (2.5 0.5 0)
        );
        volumeMode            absolute;
        injectionRateSuSp
    {
       h      (10 0) 
          (1000 0);
         }
    }
}
squigglyteeth is offline   Reply With Quote

Old   June 13, 2016, 03:04
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
As you have two heat generations, you need define two source not one
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Tags
fvoptions, heat generation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Define heat generation rate that changes with the system coordinate. a19910112a OpenFOAM Running, Solving & CFD 2 December 12, 2014 03:22
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Internal Heat generation problem ldcairan ANSYS 0 November 19, 2010 13:21
Natural Convection with heat generation krishnachandranr Main CFD Forum 0 July 28, 2009 04:22
Calculation of heat generation in Fluent for 2D krishnachandranr FLUENT 0 April 7, 2009 23:31


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