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

solidWallHeatTransfer - calculation of Cp(Tw, patchi) in basic Solid

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 29, 2012, 05:08
Default solidWallHeatTransfer - calculation of Cp(Tw, patchi) in basic Solid
  #1
Member
 
Klio
Join Date: Mar 2012
Location: Austria
Posts: 45
Rep Power: 14
klio is on a distinguished road
Hello!

I try to implement a new BC called solidWallHeatTransfer. So I took the wallHeatTransfer BC from basicThermo to make the new BC for solids. Now there is the calculation of valueFraction():

const label patchi = patch().index();
const scalarField& Tw = thermo.T().boundaryField()[patchi];
const scalarField Cpw(thermo.Cp(Tw, patchi));

valueFraction() =
1.0/
(
1.0
+ Cpw*thermo.alpha().boundaryField()[patchi]
*patch().deltaCoeffs()/alphaWall_
);

so thermo.alpha().boundaryField()[patchi]*patch().deltaCoeffs() should be K of the fluid -> in case of solid I just replaced it with K (const scalarField K = thermo.K(patchi); ) but how is Cpw calculated. I can't find the code or a description. It is dependent on the Temperature but in basicSolidThermo it is not possible to call the function Cp(Tw, patchi)!
I also really don't know the meaning of the valueFraction!
klio is offline   Reply With Quote

Reply


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
What is the Basic Calculation of Lift Coef In Modelling 2D?? teguhtf FLUENT 0 October 14, 2009 04:52
Solid Timescale Control Parthipan CFX 2 August 24, 2007 10:07
Brake Rotor Thermal Calculation in STAR-CD- Urgent ps Siemens 3 June 27, 2006 04:18
Warning 097- AB Siemens 6 November 15, 2004 04:41
settling solid particle calculation in CFX-5.5.1 Kirill CFX 1 February 18, 2003 13:28


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