|
[Sponsors] |
November 8, 2004, 00:00 |
mass sink UDF
|
#1 |
Guest
Posts: n/a
|
I am modeling a diffusion problem 2D axisymmetric geometry. I am using mixture template (CO2, N2, O2) The model is for a cylindrical tank with conical headspace. CO2 gas source terms are at the bottom of the tank. Gravity is OFF in my model. Thus only force is the diffusive force. There are vents at the top of the tank and I want to maintain concentration of CO2, N2, O2 at those vents the same as that found in ambient air. How do I do this in fluent? I guess modeling vents as pressure outlet will not work. I NEED SOME TYPE OF MASS SINK TERMS AT THE VENT BOUNDARIES. I AM THINKING I SHOULD WRITE A UDF TO MAINTAIN CONCENTRATION OF CO2, N2 AND O2 IN VENT BOUNDARY CELLS SAME AS AMBIENT AIR. Will this automatically work as the mass sinks that I am trying to put? What macro should I use to write my UDF?
|
|
November 8, 2004, 23:44 |
Re: mass sink UDF
|
#2 |
Guest
Posts: n/a
|
If species transport is ON (Define --> Models --> Species --> Species transport) how do I access mass fraction of a particular gas species in a UDF? For example, in a cell, you get mass fractions for all the species present, but how do I access it in a UDF? plz do let me know as soon as possible.
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF to measure Mass Flow Rate | a.lynchy | Fluent UDF and Scheme Programming | 31 | October 4, 2018 15:10 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
mass sink as a function of concentration | ranjith | CFX | 4 | May 10, 2010 00:26 |
UDF mass flow rate | Juan | FLUENT | 2 | December 22, 2007 10:29 |
I need UDF help. | S.Whitney | FLUENT | 0 | October 15, 2007 12:29 |