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

Heat Flux transfer from fluid to solid in FSI??

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 29, 2013, 13:45
Default Heat Flux transfer from fluid to solid in FSI??
  #1
Member
 
Samer
Join Date: Jan 2013
Posts: 31
Rep Power: 13
SamerAli is on a distinguished road
Hi Foamers

I am simulationg a fluid-structure interaction problem and i need to transfer the heat flux from the fluid patch to the solid patch.
I wrote a .H file where :
void HeatFluxFvPatchScalarField::updateCoeffs()
{
if (updated())
{
return;
}

const dictionary& transportProperties =
db().lookupObject<IOdictionary>("transportProperti es");

dimensionedScalar k(transportProperties.lookup("k"));

vectorField n = patch().nf();

// Info<< "\n Traction displacement \n" << endl;
gradient() =(HeatFlux_)/(k.value())*(-1);

fixedGradientFvPatchScalarField::updateCoeffs();
}

and i want to ask if there is anything wrong in what i wrote?
SamerAli is offline   Reply With Quote

Old   May 8, 2013, 13:26
Default
  #2
Senior Member
 
kmooney's Avatar
 
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 17
kmooney is on a distinguished road
Instead of starting from scratch I would take a look at the implementations in the chtMultiRegionFoam tutorial. They use this BC to map temperature between coupled solid and liquid patches:

~/OpenFOAM/OpenFOAM-2.2.0/src/turbulenceModels/compressible/turbulenceModel/lnInclude/turbulentTemperatureCoupledBaffleMixedFvPatchScala rField.C
kmooney is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heat transfer between solid and fluid Suyash26 ANSYS 4 April 22, 2013 15:59
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
goddamnit: how to set up heat transfer from fluid to solid macfly FLUENT 7 June 16, 2012 11:50
Heat Flux at wall in a conjugate heat transfer problem Chander CFX 2 July 9, 2011 22:22
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17


All times are GMT -4. The time now is 19:27.