-
-
January 11, 2019 at 11:42 am
zakmt293
SubscriberHiÂ
I want to ask a question regarding a simulation. I am simulating flow Boiling through VOF model and when the vapor source is generated in the simulation through UDF. I checked the contours of Enthalpy and there is negative entalphy. I do not understand what could be the main reason for this.
Can some one help me and the working fluid is waterÂ
-
January 11, 2019 at 12:05 pm
Rob
Forum ModeratorIf you're adding a mass source of vapour into the system, are you removing any liquid and how are you accounting for both latent heat and the energy associated with the mass source?Â
Fluent assumes that any mass added via a source term is 298.15K so you may need an energy source/sink to account for that.Â
-
January 11, 2019 at 12:14 pm
zakmt293
SubscriberYes sir I am removing the liquid source as well. I will incorporate the energy source for latent heat as well. Let me check the behavior if this was not clear I will post again
-
January 11, 2019 at 12:28 pm
zakmt293
SubscriberAnother question that I want to ask please if you can help me.
Â
#include "udf.h"
#include "sg_mphase.h"
#define T_SAT 373
#define k_eff 0.015
#define LAT_HT 2566e3
#define dx 0.01
DEFINE_SOURCE(vap_src,cell,pri_th,dS,eqn)
{
real m_v;
Thread*mix_th,*sec_th;Â Â Â Â Â Â Â Â Â Â Â Â Â // declaration of threads
mix_th=THREAD_SUPER_THREAD(pri_th);Â Â Â Â Â Â // declaration of super thread
sec_th=THREAD_SUB_THREAD(mix_th,0);Â Â Â Â Â // declaration of sub thread which is now water flowing
m_v=0;Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // In start mass of vapor is zero
if (C_T(cell,sec_th)>373)          //As the current cell temp rises
{
m_v=k_eff*(C_T(cell,sec_th)-T_SAT)*C_VOF(cell,sec_th)/(LAT_HT*dx*C_VOLUME(cell,sec_th));Â Â // Source of vapor incorporated in secondary phase under the cell index
dS[eqn]=0;
}
return m_v;
}
Â
Â
Dear sir I have written above program for generating vapor source. I cannot address directly the vapor source as it is not present in the grid. So can we have other methods and is the above mentioned program genuine for retrieving vapor phase
Â
-
January 11, 2019 at 4:09 pm
Rob
Forum ModeratorYou do realise that the VOF solver is designed to model a free surface? So adding mass of a second phase into a cell is likely to make the model unstable if it's not at the interface?Â
Re adding in energy, if you are calculating the mass source somewhere you will know the energy sink/source based on the mass being transferred.Â
-
January 12, 2019 at 7:20 am
zakmt293
SubscriberYes sir
You are correct. I am still searching for methods to define interfaces that can help me in my model. A simple would help me enough do you know any site which can help me devise the algorithm and implement it.
Thank you
-
January 14, 2019 at 12:15 pm
Rob
Forum ModeratorI'd look into the multi-fluid VOF model and see if that's suitable (it should be). Re the boiling models etc I can't help with that. Ask your supervisor if (s)he has access to the ANSYS Customer Portal as there may be some information on there.Â
-
- The topic ‘Negative enthalpy in simulation’ is closed to new replies.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
4062
-
1487
-
1308
-
1156
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.