|
[Sponsors] |
April 15, 2016, 02:36 |
Scalar transport function object
|
#1 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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?
|
|
April 18, 2016, 06:36 |
|
#2 |
Senior Member
|
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 |
|
April 23, 2016, 04:11 |
for diff boundary condition
|
#3 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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. |
|
April 24, 2016, 09:06 |
|
#4 | |
Senior Member
|
I copied this from the private message you sent hoping that more people may read this.
Quote:
Regards, Tom |
||
April 25, 2016, 03:20 |
Image attached
|
#5 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
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. |
|
April 25, 2016, 04:26 |
|
#6 |
Senior Member
|
Hi,
I see no image... Regards, Tom |
|
April 25, 2016, 04:37 |
Image attached
|
#7 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
image attached
|
|
April 25, 2016, 04:49 |
|
#8 |
New Member
vel
Join Date: Mar 2016
Posts: 6
Rep Power: 10 |
Hi tom i hope you got it.
|
|
April 25, 2016, 05:15 |
|
#9 |
Senior Member
|
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; } } } } } } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |