CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Adding line source term for scalar transport by fvOptions

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

LinkBack Thread Tools Display Modes
Old   May 13, 2015, 05:29
Default Adding line source term for scalar transport by fvOptions
New Member
Join Date: May 2015
Posts: 8
Rep Power: 2
wayne14 is on a distinguished road

I have been trying to add a line source on the ground for scalar transport by fvOptions. My idea is to approximate the line source by a narrow area source. So I extract a faceSet from the lowerWall (the ground boundary) as follows:

        name    f0; //
        type    faceSet;
        action  new;
        source  patchToFace;
            name lowerWall; 
        name    f0;
        type    faceSet;  //2D
        action  subset;
        source  boxToFace;
             boxes ((1.1076 0 0.4)(1.122 0 1.6)   (1.158 0 0.4)(1.1724 0 1.6));
And then I set the source strength in the fvOptions dictionary as follows:

scalarTracer //name
        type            scalarSemiImplicitSource;
        active          true;
        selectionMode   all;  // all, cellSet, points, cellZone  
        cellSet       f0;//TSsourceCells; 
            volumeMode      specific; // absolute <quantity>; specific <quantity>/m^3
                TS      (0.2936 0); //kg/m^3/s  0.01/0.0340557 
My code runs well, but there is some important thing that confuses me:
My total source strength is 0.01 kg/s, the area of f0 is 0.0340557 m^2. Is it right to set TS as 0.01/0.0340557 with the volumeMode being 'specific' ?

By the way, if there is better ideas for a line source term, please tell me too.

Thank you!
wayne14 is offline   Reply With Quote


fvoptions, scalar transport, source terms

Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam building problem GGerber OpenFOAM Installation 54 April 24, 2015 16:02
Swak4Foam funkyDoCalc with OF2.3 massflow NiFl OpenFOAM 8 March 24, 2014 21:06
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26

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