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

Inject tracer within the simulation volume via fvOptions

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 9, 2017, 09:31
Default Inject tracer within the simulation volume via fvOptions
  #1
Member
 
Sebastian Trunk
Join Date: Mar 2015
Location: Erlangen, Germany
Posts: 60
Rep Power: 11
sisetrun is on a distinguished road
Hello everybody,

I am struggeling with fvOptions in OF2.3.x . I want to use a cellZone as a source of tracer T and solve the equations with scalarTransportFoam on a steady simpleFoam velocity field. I have tube and an obstacle, so I do not want to inject the tracer at the beginning of the tube but right before the obstacle. I want to use the source more or less as a internal "inlet-patch" for the tracer. Values should be 1 in the source and after a while in the whole domain after the source (just like with the fixedValue inlet BC for scalarTransportFoam).

I made the cellZone, set up the fvOptions file like this:

Code:
tracer
{
   type scalarSemiImplicitSource ;
   active on;
   timeStart 0;
   duration 10000;
   selectionMode cellZone;
   cellZone Tracer;

   scalarSemiImplicitSourceCoeffs
   {
      volumeMode absolute; //implicit
      injectionRateSuSp
      {
         T (1 0);
      }
   }
}
I end up with very high values of T around 5.4e4.

Is the source of 1 mole / itteration added to the domain every time step?

Can I set a fixedValue BC for fvOption like in inletBC?


Every help is thankfully appreciated. Thank you

Best regards,

Sebastian

Last edited by sisetrun; February 10, 2017 at 02:06.
sisetrun is offline   Reply With Quote

 


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
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 15:02
Simulation crashed shortly after it started ce73stargazer OpenFOAM Running, Solving & CFD 0 September 2, 2016 00:16
Air flow simulation in volume with fan and opening koziymf FLUENT 0 November 14, 2011 17:44
Tracer gas simulation with CFX4.3 CFX 4.3 users CFX 3 August 15, 2003 05:38
tidal flow simulation using finite volume method Jason Qiu Main CFD Forum 0 October 20, 2002 02:34


All times are GMT -4. The time now is 04:28.