Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Patch and providing mass fraction at a plane

    • pratheeba.chandanagarajan
      Subscriber

      Hi,

      My geometry is this:

      The inlet is at the top of the thin pipe. I did flow and temperature profiles (with air as fluid) and obtained these fields by Patch. The green part is a part. I want to add a tracer (not air) at the plane where the green color starts (after the thin pipe) in the entire diameter (of the green part). How can I give this, when this is not the inlet? Thank you

      Pratheeba

    • Rob
      Forum Moderator

      Add mass or just add a tracer? You may want to have a look at the patch option and just set a species fraction. If you want to add mass then review source terms. 

    • pratheeba.chandanagarajan
      Subscriber

      Hi Rob,

       

      Thank you. I want to just add a species for the entire diameter and monitor how it comes out at the outlet.

       

      Pratheeba

    • pratheeba.chandanagarajan
      Subscriber

      Hi Rob,

       

      I found this in FAQ in Ansys Fluent ( I googled Patch) : Often, Chemical Engineers need to compute the RTD of their Continuous stirred tank reactors (CSTRs). FLUENT’s DPM model is challenging to use in these systems due to difficulty in getting statistically meaningful number of particles at the outlet. A second method is to introduce passive tracer material either with species or user-defined scalars. A method with user-defined scalars (UDS) is outlined here. Approach: 1. Solve for single-phase steady state flow field with inlets and outlets. 2. Switch to unsteady solver. 3. Introduce a UDS with mass flux as convection term and default unsteady term. The UDS represents a passive tracer that is used to determine RTD. 4. Change UDS diffusivity to zero or reasonable values. For water-water system, this is quite low ~ 1e-10 m2/s. 5. For pulse input, patch a known amount of UDS near the inlet; for step input, make UDS value = 1 at inlet. 6. Turn on surface monitor of area-av. UDS value at the outlet. Plot, print/ write to file. 7. Turn off all equations except the UDS equation. Run for the required flow time. The UDS conc. at the outlet as a function of time can be used to extract the residence time distribution. If you use step input of tracer (UDS value = 1 at inlet), the outlet UDS profile when normalized (Coutlet/Cinlet) is called F curve which is a cumulative residence time distribution. If you introduce a pulse, the normalized response is called C Curve which is the RTD function.

      This is exactly what I want to do. But I do not know how to add the value at a specific plane.

      Thank you

      Pratheeba

    • Rob
      Forum Moderator

      You can't at a plane, but you can use a register to pick a layer or few of cells to then patch.  No need to use a UDS, you can do this with species which will be marginally more stable and (more critically) easier to set up. 

    • pratheeba.chandanagarajan
      Subscriber

      Thank you so much Rob.

      Pratheeba

Viewing 5 reply threads
  • The topic ‘Patch and providing mass fraction at a plane’ is closed to new replies.