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

swak4Foam & externalWallHeatFluxTemperature

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 4, 2012, 18:11
Default swak4Foam & externalWallHeatFluxTemperature
  #1
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 135
Rep Power: 7
calim_cfd is on a distinguished road
Hello again every1!

I need to customize sth but im not sure swak4foam can handle it..

I need to use the this boundary condition ( /opt/openfoam210/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalWallHeatFluxTemperature ) but i want to use the settings with "h" and "Ta". Thing is i have an h which is time dependent!!

i guess i have 2 options and i wonder which one should be best?

a)implement the DataEntry class within this BC

b)create sth equivalent with swak4Foam?

i wanted to work with the army knife but since i need the convection coefficients to be time dependent i'm not quite sure that the swak4f is able to handle it!

thank you for your time!
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   March 5, 2012, 14:37
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,747
Rep Power: 36
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by calim_cfd View Post
Hello again every1!

I need to customize sth but im not sure swak4foam can handle it..

I need to use the this boundary condition ( /opt/openfoam210/src/turbulenceModels/compressible/turbulenceModel/derivedFvPatchFields/externalWallHeatFluxTemperature ) but i want to use the settings with "h" and "Ta". Thing is i have an h which is time dependent!!

i guess i have 2 options and i wonder which one should be best?

a)implement the DataEntry class within this BC
Even in that case you can use swak4Foam as since the last release it defines a subclass to DataEntry that allows expressions ... the result has to be uniform.

Quote:
Originally Posted by calim_cfd View Post
b)create sth equivalent with swak4Foam?
This is possible too IF the field that defines the heat conduction is present in memory (not if it is calculated on the fly) - so it depends basically onthe solver.

The BC you mention is basically a mixedBC and groovyBC can emulate that (as long as it is not on a mapped-patch)

Quote:
Originally Posted by calim_cfd View Post
i wanted to work with the army knife but since i need the convection coefficients to be time dependent i'm not quite sure that the swak4f is able to handle it!

thank you for your time!
gschaider is offline   Reply With Quote

Old   March 5, 2012, 16:11
Default
  #3
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 135
Rep Power: 7
calim_cfd is on a distinguished road
Hi gschaider!

thanks for the reply!

the solver should be the scalarTransportFoam since i'm solving only for temperature on a solid domain - some steel alloy

I guess i'll try to implement the dataentry class first, cuz it's seems to provide a "broader BC".

since i'm not that familiar with doxygen classes and functions it might take a while till i compile sth but as soon i as get sth working ill post it here

for now, thanks for time gs,
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 161 March 30, 2014 08:04
swak4foam callahance OpenFOAM 28 August 4, 2013 11:40
swak4Foam compilation problem ganeshv OpenFOAM Running, Solving & CFD 5 November 11, 2011 16:39
swak4Foam for faceZones andrea.pasquali OpenFOAM 3 August 30, 2011 11:24
Installing swak4foam Without Internet Access joel.lehikoinen OpenFOAM 2 June 17, 2011 05:12


All times are GMT -4. The time now is 00:35.