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

Scalar transport function object

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 15, 2016, 01:36
Default Scalar transport function object
  #1
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 2
vetri1689 is on a distinguished road
Has anybody used scalartransport object. if so briefly summarize here how to use it. and also explain how to monitor the concentration of tracer by scalartransport function. which file exactly gives the concentration of tracer at a particular location in domain?
vetri1689 is offline   Reply With Quote

Old   April 18, 2016, 05:36
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 328
Rep Power: 12
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
I think you should start working on the searching skills. For the scalarTransport, please have a look at this post:

http://www.cfd-online.com/Forums/ope...tml#post521181

For monitoring look for probes in the forum/tutorials.

Regards,
Tom
tomf is offline   Reply With Quote

Old   April 23, 2016, 03:11
Default for diff boundary condition
  #3
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 2
vetri1689 is on a distinguished road
Hi tom
i got it after spending so much time. and its working well with the previously defined mass flow inlet boundary condition. but i wanted to initiate from the free surface boundary as a tracer(dye).
looking forward your reply.
vetri1689 is offline   Reply With Quote

Old   April 24, 2016, 08:06
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 328
Rep Power: 12
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
I copied this from the private message you sent hoping that more people may read this.

Quote:
i am modelling a multiphase simulation with buoyancy dominated flow. both the phases(Argon gas and steel) are immiscible. i want to find out the dye concentracentration at one point for which i am using probe. but the problem i am facing is that the initialization of dye is not happening at the free surface(top surface of the reactor) where gas is blown from the bottom of the reactor.
From this I have no idea how to help you. Please explain your problem clearly. Maybe make a sketch of what you are seeing and what you want to see.

Regards,
Tom
tomf is offline   Reply With Quote

Old   April 25, 2016, 02:20
Default Image attached
  #5
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 2
vetri1689 is on a distinguished road
Hi tom
have a look on uploaded image.
top layer is mentioned as free surface boundary condition. in the same plane i want to initiate a trace for some time. how to do it in openfoam and give some idea.
vetri1689 is offline   Reply With Quote

Old   April 25, 2016, 03:26
Default
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 328
Rep Power: 12
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

I see no image...

Regards,
Tom
tomf is offline   Reply With Quote

Old   April 25, 2016, 03:37
Default Image attached
  #7
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 2
vetri1689 is on a distinguished road
image attached
Attached Images
File Type: jpg 123.jpg (124.3 KB, 19 views)
vetri1689 is offline   Reply With Quote

Old   April 25, 2016, 03:49
Default
  #8
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 2
vetri1689 is on a distinguished road
Hi tom i hope you got it.
vetri1689 is offline   Reply With Quote

Old   April 25, 2016, 04:15
Default
  #9
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Delft, Netherlands
Posts: 328
Rep Power: 12
tomf is on a distinguished road
Send a message via MSN to tomf Send a message via Skype™ to tomf
Hi,

Ok in that case, something like this may work, where you have to modify the points for the location where you want to inject the dye and the rate of injection. I am not sure about the time part of your request. It may work to run the solver until time = 5 seconds, stop the simulation, make the fvOptions part below empty and continue the run.

Code:
functions
{
    Tracer
    {
        type    scalarTransport;
        functionObjectLibs ("libutilityFunctionObjects.so");
        outputControl   outputTime;
        active          true;
        autoSchemes     false;
        nCorr           1; // number of non-orthogonal correctors
        resetOnStartUp  false;
        fvOptions
        {
            Tracer
            {
                type        scalarExplicitSetValue;
                active      true;
                scalarExplicitSetValueCoeffs
                {
                    selectionMode       points;
                    points     (
                                   (1.3 0.628 1.145)
                                   (1.2 0.628 1.145)
                                  );
                    injectionRate
                    {
                        Tracer         1;
                    }
                }
            }
      }
  }
}
tomf is offline   Reply With Quote

Reply

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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 11 April 22, 2014 12:32
non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Native Meshers: blockMesh 7 April 17, 2013 05:42
error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Native Meshers: blockMesh 2 March 14, 2012 10:56
solving passive scalar by user function in AVLFIRE huyp Main CFD Forum 0 September 4, 2008 10:21
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


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