CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

vof with cht

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 28, 2015, 12:43
Default vof with cht
  #1
Member
 
Kapa Lilla
Join Date: Mar 2009
Location: Bruxelles, Belgium
Posts: 57
Rep Power: 17
klilla is on a distinguished road
Dear All,

I try to develop a solver: incompressible 2phase, temperature dependent VOF flow solver embedded in the cht multiregion environment.

What I have: vof+temperature without cht working fine
cht + single phase solver working fine

Where I fail is the definition of alpha (void fraction) in the multiregion environment. My alpha do not get updated if I try:

creatFluidFields.H : PtrList<volScalarField> alpha1Fluid(fluidRegions.size());
alpha1Fluid.set
(
i,
new volScalarField
(
thermoFluid[i].alpha1()
)
);

setRegionFluidFields.H: volScalarField& alpha1 = alpha1Fluid[i];

I thought to do it in an other way:

creatFluidFields.H : nothing of alpha1

setRegionFluidFields.H: volScalarField& alpha1 = thermo.alpha1();

with thermo = thermoFluid[i]

This is updating the field, but just close to the walls and gives very wierd results, though the equations I'm solving are the same as I use for the solver without cht.

Can anyone help?
Thanks,
Lilla
klilla is offline   Reply With Quote

Old   July 29, 2015, 03:48
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18
kmooney is on a distinguished road
You may need to adapt the CHT boundary conditions to take into account the variable density and viscosity (and thus the local heat transfer coeffs)..

Just a guess!

Kyle
kmooney is offline   Reply With Quote

Old   July 29, 2015, 06:30
Default
  #3
Member
 
Kapa Lilla
Join Date: Mar 2009
Location: Bruxelles, Belgium
Posts: 57
Rep Power: 17
klilla is on a distinguished road
Dear Kyle,

thanks for your answer. In fact, that I did already. In any case, right now I run an isotherm case, my problem is that the free-surface is not moving...

Thanks again,
Lilla
klilla is offline   Reply With Quote

Reply

Tags
cht coupling, vof


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VOF Inlet condition Rizwan FLUENT 15 July 5, 2018 17:33
HELP! adding a mass source to VOF eqn. by UDF??? ROOZBEH FLUENT 5 December 3, 2016 18:53
UDF Defining VOF Free Surface at Outlet Alex Fluent UDF and Scheme Programming 13 August 8, 2012 17:50
problem about VOF and species couple Cloud FLUENT 0 June 15, 2012 02:23
Difficult BCs about Freesurface Simulation by VOF Yongguang Cheng FLUENT 0 September 19, 2003 08:39


All times are GMT -4. The time now is 20:16.