CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Inlet or a mass source as a function of local flow (https://www.cfd-online.com/Forums/cfx/22699-inlet-mass-source-function-local-flow.html)

 HC June 12, 2006 14:53

Inlet or a mass source as a function of local flow

Hello all

Is it possible to define an inlet or a mass source as a function of local flow parameters, rather than as a constant? And what would be the correct way to model that, if possible?

Any advice on this would be most welcome.

H

 Joe June 12, 2006 16:31

Re: Inlet or a mass source as a function of local

Have a look at the room temperature - thermostat tutorial.

 H June 20, 2006 14:54

Re: Inlet or a mass source as a function of local

Hello Joe

Thank you for your answer. I took a look at the tutorial and found it rather enlightening, but I still have a few problems. I'll explain them, maybe you or someone else can give me useful hints. I'm fairly sure this would be a trivial problem if I had any experience with this kind of thing&hellip; :)

I'm trying to simulate the evaporation of a layer of water, surrounding a solid placed within an enclosure, when exposed to currents of hot air, in order to study local intensities and rates of the drying process. A steady-state setup using a constant, calculated water inlet on the solid works just fine as an initial approximation, since a look at Conservative water mass fractions provides reasonable qualitative evaluations of local evaporation intensities throughout the geometry.

I would now need to implement a transient run in order to simulate the drying process over time, preferably expressing the inlet or mass source in terms of local conditions such as water vapor concentrations or convection heat transfer coefficients. From what I gather I'd have to use User Fortran (since apparently normal CEL expressions do not have access to data from the previous timesteps), but I don't have the faintest idea about User Fortran.

Any advice would be most welcome, not to mention sorely needed...