CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

chtMultiRegionFoam - defining thermal properties in a solid composite

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Adam_K

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2018, 05:41
Default chtMultiRegionFoam - defining thermal properties in a solid composite
  #1
Member
 
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 8
Adam_K is on a distinguished road
Hello,

I found this forum while troubleshooting a few of my OpenFoam issues and have finally hit one that I haven't been able to resolve on my own. I am having trouble defining the thermal properties of my physical regions in OpenFoam version 5 and was hoping that someone might be able to point me in the right direction.

Problem Statement
I would like to model the transient heat transfer in a composite material comprised of cylindrical fibres in a matrix. As the fibres are perpendicular to the heat flow, this is a 2D simulation. The two materials have different heat conductivity/density/heat capacity. We assume that these properties don't vary with temperature, and for the moment, would like to assume zero thermal resistance at the interface.

Meshing and BCs
I have made the mesh using gmsh, with two physical volumes and a shared physical surface to represent the interface. The front and back planes are empty, while the top/bottom are zeroGradient and the left/right sides are at a fixed temperature.

I have defined initial and boundary (compressible::turbulentTemperatureCoupledBaffleMix ed;) conditions in the 0/ directory. When I run the follwing, everything looks normal in Paraview.
Code:
gmshToFoam
splitMeshRegions -cellZonesOnly -overwrite

My constant/regionProperties are defined as
Code:
regions
(
    fluid       ()
    solid       (matrix fibres)
);
Note: I am using OpenFoam Version 5

I am unsure of how to modify the constant\fibres\thermophysicalProperties and constant\matrix\thermophysicalProperties dictionaries. I have found solidProperties files in the src\thermophysicalModels\thermophysicalProperties\ solidProperties\ directory but I don't see how to use/modify them.

Is it possible to directly define the solid properties? Or do I need to define a thermoType based on the user guide's section on ThermoPhysical Models? If I try to run chtMultRegionFoam using the following thermoType in the thermophysicalProperties dictionary, I get an error.
Code:
thermoType
{
    type            heSolidThermo;
    mixture         pureMixture; 
    transport       constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;   
}
The error is
Quote:
--> FOAM FATAL ERROR:
cannot find file "C:/PROGRA~1/blueCFD/ofuser-of5/run/compositeFibres/0/matrix/p"
This does not make sense to me, as the only variable of interest is the temperature; pressure should not play a role.

Edit: I tried defining the pressure as a constant everywhere in 0/fibres/p and 0/matrix/p now the simulation runs with the thermophysicalProperties defined as:
Code:
thermoType
{
    type            heSolidThermo;
    mixture         pureMixture; 
    transport       constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;   
}

mixture
{
    specie
    {
        molWeight 1;
    }
        transport
    {
        kappa   80;
    }
    thermodynamics
    {
        Hf      0;
        Cp      450;
    }
    equationOfState
    {
        rho     8000;
    }
}
Is this sort of a work-around the define constant thermal properties? Or have I made some mistake that will soon come back to bite me?
SamMallinson and Yue Qiu like this.

Last edited by Adam_K; November 5, 2018 at 07:02.
Adam_K 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
problem defining material properties as a function of temperature Ehsan301 CFX 3 October 19, 2017 17:33
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 05:39
defining solid and fluid in chtMultiregionFoam R_21 OpenFOAM Running, Solving & CFD 2 July 1, 2015 11:54
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 14:32
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 11:18


All times are GMT -4. The time now is 17:10.