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

Scalar transport function object

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By tomf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2016, 02:36
Default Scalar transport function object
  #1
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10
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, 06:36
Default
  #2
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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, 04:11
Default for diff boundary condition
  #3
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10
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, 09:06
Default
  #4
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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, 03:20
Default Image attached
  #5
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10
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, 04:26
Default
  #6
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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, 04:37
Default Image attached
  #7
New Member
 
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10
vetri1689 is on a distinguished road
image attached
Attached Images
File Type: jpg 123.jpg (124.3 KB, 210 views)
vetri1689 is offline   Reply With Quote

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

Old   April 25, 2016, 05:15
Default
  #9
Senior Member
 
Tom Fahner
Join Date: Mar 2009
Location: Breda, Netherlands
Posts: 646
Rep Power: 32
tomf will become famous soon enoughtomf will become famous soon enough
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;
                    }
                }
            }
      }
  }
}
guifon1000, BlnPhoenix and mrishi like this.
tomf 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
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 08:15
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
solving passive scalar by user function in AVLFIRE huyp Main CFD Forum 0 September 4, 2008 11:21
Droplet Evaporation Christian Main CFD Forum 2 February 27, 2007 07:27


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