-
-
July 8, 2026 at 2:42 pm
SR786
SubscriberHello, I have ran a hydrodynamic simulation within my vessel (agitated tank with vortex) using the VOF solver. I now want to simulate feed addition for semi-batch reaction, without adding a feed pipe. From reading previous stirred tank papers (https://pubs.acs.org/doi/10.1021/ie001123v), one option is to patch a small volume representing feed zone in the tank and add source term via UDF during feed addition (see diagram below). I wanted to ask whether this is feasible and how to go about doing this?
Â
-
July 8, 2026 at 2:59 pm
Rob
Forum ModeratorYou may want to split a cell zone for the source (not patch) if you're adding mass. If you just want to track species then patch to a cell register. Â
-
July 8, 2026 at 3:08 pm
SR786
SubscriberSo by splitting zone, source term can be introduced (mass flow rate). Then patch is used to define mass fractions of species in this zone?
-
July 8, 2026 at 3:15 pm
SR786
SubscriberOr do I in this new zone define a total mass source term (total mass flow rate added) and add source terms for whichever species are introduced (M_total * Y_i)?
-
July 8, 2026 at 3:39 pm
Rob
Forum ModeratorDo you want to add mass, or just a tracer? If you're adding mass, you need a source of mass AND species at the same rate.Â
Patch would be a one off tracer addition, where you don't add any mass and just change the species mass fraction in that zone.Â
-
July 9, 2026 at 10:06 am
SR786
SubscriberÂ
Okay, so this is not tracer addition but instead a precipitation reaction involving CaCl2 (aq) + Na2C2O4 (aq) + H2O → CaC2O4.H2O (s) ↓ + 2NaCl (aq)
In fluent, each aqueous solution is represented as disscoiated ions (CaCl2 → Ca^2+ + 2Cl^-; Na2C2O4 → 2Na^+ C2O4^2-)
Calcium chloride is being fed into the reactor and sodium oxalate is pre-charged. So I wanted to ask, within the feed zone I am adding volume flow rate of 1.11 mL/s or mass flow rate of 1.11 g/s of calcium chloride solution which contains calcium ions, chloride ions and water (last species in mass balance, solved via Y_water = 1 – SUM(Yi).
So do I add following source terms in this feed zone:
Â
- Ca^2+ ion = M_tot * Y_ca
- Cl^- ion = M_tot * Y_cl
- Na^+ ion = C2O4^2- ion = 0 (Default)
- Total mass = M_tot
-
July 9, 2026 at 10:52 am
SR786
SubscriberAlso another thing I wanted to ask, I am assuming negligble influence of feed jet on local flow pattern which I have confirmed from doing a fully coupled simulation. Would it be reasonable to switch off flow equations and just have mass/species source term here without needing momentum source term?
-
July 9, 2026 at 11:07 am
Rob
Forum ModeratorIf you don't need to worry about mass addition (ie it's a replacement of material rather than addition of) then yes you can switch off flow & just model species. If you're adding mass then you need to model flow otherwise where is the extra mass going?Â
Â
-
July 9, 2026 at 11:20 am
SR786
SubscriberMy simulation involves adding 20 mL of calcium chloride solution into 2 L volume of sodium oxalate in reactor, I thought because this volume change is neglible (the change in free surface height is 1% from fully coupled CFD-PBM) that I could neglect flow equations during addition period and just model species source term which will help sustain concentration and supersaturation levels in this feed zone for longer periods as compared to batch process.
-
July 9, 2026 at 12:03 pm
Rob
Forum ModeratorIf you want to add mass then you need to model it. If you want to just change a species (no added mass) then you don't need to add the mass. In your case the added mass is low, so you can either not add it & change the species, or you need to model it. Both are possible, but you need to decide which approach best suits your model. Â
-
July 9, 2026 at 12:55 pm
SR786
SubscriberOkay no worries,Â
So for this simplified approach (assuming total liquid mass change is neglible), then I only need to add two source terms for the species being added to domain:
- Ca^2+ feed in
- Cl^- feed in
This will ensure that the composition of two materials are being replenished within feed zone over period of feed addition time.
Mass source is left as 0?
-
July 9, 2026 at 1:05 pm
Rob
Forum ModeratorThat should work, you'll see a slight loss in the last species in the mixture list (at a guess that's water). Mass source is zero as you're converting last species into the two ions you noted.Â
-
July 9, 2026 at 1:18 pm
SR786
SubscriberYes,I also do have consumption source terms (Ca and Cl) and generation source terms (CaC2O4H2O) in the feed zone based on precipitation reaction which will be in the feed zone as well. So the source terms will look like:Â
S_Ca = S_feed,Ca - S_precip,CaÂS_Cl = S_feed,ClÂS_oxalate = -S_precip,oxalateÂS_COM = +S_precip,COMÂand S_water will make up remaining balance -
July 9, 2026 at 2:43 pm
SR786
SubscriberOkay one more thing, how do I set concentrations in the feed zone. For the inlet B.C, concentrations were set from mass fractions of species. However, for this new source term method I can only define a mass flow rate term
-
July 9, 2026 at 3:04 pm
Rob
Forum ModeratorYou source mass/species or you can Fix concentrations (double check as I've not tried it for species) in the Cell Zone panel. Be very careful with the latter as Fluent MUST respect that value and that may do interesting things to your results.Â
-
July 9, 2026 at 3:16 pm
SR786
SubscriberOkay, thank you for the advice
-
July 9, 2026 at 3:29 pm
SR786
SubscriberAnother option I was considering would be to instead of patching actually model the addition period through the inlet B.C within fully coupled simulation. I can then capture jet interactions with free surface, then after feed addition is stopped (only a short perod of time, 18 s) I can then change boundary conditions, let flow field readjust (i.e., jet dissipate) and then switch off flow equations and simulate rest of process (which would be a batch process).
This method may be better as it appears there are alot of uncertainties with trying to add a feed zone, particulalry with the dynamics of the process.
-
July 9, 2026 at 3:47 pm
Rob
Forum ModeratorThat's also an option. Using simulation is "easy" working out what to include is a little more difficult.Â
-
- You must be logged in to reply to this topic.
-
6835
-
1906
-
1522
-
1343
-
1152
© 2026 Copyright ANSYS, Inc. All rights reserved.
