CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Conjugate heat transfer for heatedDuct

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2024, 22:55
Default Conjugate heat transfer for heatedDuct
  #1
New Member
 
Mahsheed Rayhani
Join Date: Feb 2024
Posts: 1
Rep Power: 0
Mahsheed is on a distinguished road
Hello foam users,


I am a new user to OpenFoam and I am running a tutorial on heatedDuct based on chtMultiRegionFoam module. I have followed all the tutorial steps and now I am stuck at the last step of running chtMultiRegionFoam. Below is the error that I get. Also, I am using OpenFoam version 10.


can anybody help me with this problem?



Thank you,


Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  10
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 10-c4cf895ad8fa
Exec   : chtMultiRegionFoam
Date   : Feb 05 2024
Time   : 21:35:58
Host   : "mahsheed-VM"
PID    : 10094
I/O    : uncollated
Case   : /home/mahsheed/OpenFOAM/My_tut/Heat_transfer/heatedDuct
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region fluid for time = 0

Create solid mesh for region metal for time = 0

Create solid mesh for region heater for time = 0


PIMPLE: Region fluid
PIMPLE: No convergence criteria found


PIMPLE: Region metal
PIMPLE: No convergence criteria found


PIMPLE: Region heater
PIMPLE: No convergence criteria found


PIMPLE: Operating solver in transient mode with 1 outer corrector
PIMPLE: Operating solver in PISO mode


*** Reading fluid mesh thermophysical properties for region fluid

    Adding to thermoFluid

Selecting thermodynamics package 
{
    type            heRhoThermo;
    mixture         pureMixture;
    transport       const;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to rhoFluid

    Adding to UFluid

    Adding to phiFluid

    Adding to gFluid

    Adding to hRefFluid

    Adding to pRefFluid

    Adding to ghFluid

    Adding to ghfFluid

    Adding to turbulenceFluid

Selecting turbulence model type laminar
Selecting laminar stress model Stokes
    Adding to thermophysicalTransport

Selecting thermophysical transport type laminar
Selecting default laminar thermophysical transport model unityLewisFourier
    Adding to reactionFluid

Combustion model not active: combustionProperties not found
Selecting combustion model none
    Adding to KFluid

    Adding to dpdtFluid

    Adding to fieldsFluid

    Adding MRF

No MRF models present

    Adding fvModelsFluid

    Adding fvConstraintsFluid

*** Reading solid mesh thermophysical properties for region metal

    Adding to thermoSolid

Selecting thermodynamics package 
{
    type            heSolidThermo;
    mixture         pureMixture;
    transport       constIsoSolid;
    thermo          eConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleInternalEnergy;
}

    Adding to fvModelsSolid

    Adding fvConstraintsSolid

*** Reading solid mesh thermophysical properties for region heater

    Adding to thermoSolid

Selecting thermodynamics package 
{
    type            heSolidThermo;
    mixture         pureMixture;
    transport       constIsoSolid;
    thermo          eConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleInternalEnergy;
}

    Adding to fvModelsSolid

Creating fvModels from "constant/fvModels"

Selecting finite volume model type heatSource
    Name: energySource
    - selecting all cells
    - selected 400 cell(s) with volume 4e-06
    Adding fvConstraintsSolid

Region: fluid Courant Number mean: 0.000996623 max: 0.001
Region: metal Diffusion Number mean: 0.0823045 max: 0.329218
Region: heater Diffusion Number mean: 0.0222222 max: 0.0888889




volAvgHeaterT volAverage weight field none

volAvgMetalT volAverage weight field none

surfaceFieldValue volAvgInterface:
    total faces  = 80
    total area   = 0.0008
volAvgInterface areaAverage weight field none

deltaT = 0.001
volFieldValue volAvgHeaterT write:


--> FOAM FATAL ERROR: 
Field none not found in database

    From function Foam::tmp<Foam::Field<Type> > Foam::functionObjects::fieldValues::volFieldValue::getFieldValues(const Foam::word&) const [with Type = double]
    in file fieldValues/volFieldValue/volFieldValueTemplates.C at line 62.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::tmp<Foam::Field<double> > Foam::functionObjects::fieldValues::volFieldValue::getFieldValues<double>(Foam::word const&) const at ??:?
#3  Foam::functionObjects::fieldValues::volFieldValue::write() at ??:?
#4  Foam::functionObjectList::start() at ??:?
#5  Foam::Time::run() const at Time.C:?
#6  ? in "/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
#7  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam10/platforms/linux64GccDPInt32Opt/bin/chtMultiRegionFoam"
Aborted (core dumped)
Mahsheed is offline   Reply With Quote

Old   February 6, 2024, 10:55
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,751
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You try to write a field named volAvgHeaterT but this field name does not exist in the registry. Probably because you use a fieldFunctionObject in your controlDict that is not set up propertly. Dump the contents of this functionObject


Use the dedicated OpenFoam forum. Maybe actually follow instructions.
LuckyTran is offline   Reply With Quote

Reply

Tags
openfoam, thermal conductivity


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
No conjugate heat transfer between solid (cast iron) and fluid (water) part Rajaero FLUENT 5 June 25, 2023 04:07
Conjugate Heat Transfer In Porous Media gartz89 FLUENT 3 February 7, 2023 03:24
Cyclic conjugate heat transfer johanesp OpenFOAM Programming & Development 0 December 30, 2021 11:55
No conjugate heat transfer between solid (cast iron) and fluid (water) Rajaero Main CFD Forum 1 August 23, 2018 14:01
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30


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