|
[Sponsors] |
Error: "Source airToporous defined for field h but never used" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 22, 2020, 12:00 |
Error: "Source airToporous defined for field h but never used"
|
#1 |
New Member
Utkan Erdem
Join Date: Sep 2020
Posts: 19
Rep Power: 6 |
I am a newbie in OpenFOAM and I desperately need any type of help or guidance in my situation. I want to simulate the forced cooling of a radiator with air by a fan. I am working with the heatExchanger case under chtMultiRegionFoam. However, the amount of fin/capillary details of this radiator makes it impossible to mesh with a commercial meshing tool. Hence, I'm going for the porosity approach. Water is considered a porous fluid of which the porous parameters are given in the fvOptions. I will include fvOptions of both regions below. The momentum source term due to the porosity blockage is I think already being added correctly, but from what I understood, I have to find a way to add the energy source term to get rid of the warning. But I don't know how to do that. I would really appreciate any help overcoming this error. Thank you in advance.
This is the error that I get, when I try to solve the case Code:
Solving for fluid region air --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used DILUPBiCGStab: Solving for Ux, Initial residual = 0.474622, Final residual = 0.00170632, No Iterations 1 DILUPBiCGStab: Solving for Uy, Initial residual = 0.403169, Final residual = 0.00159073, No Iterations 1 DILUPBiCGStab: Solving for Uz, Initial residual = 0.573588, Final residual = 0.00181622, No Iterations 1 --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used DILUPBiCGStab: Solving for e, Initial residual = 0.00898525, Final residual = 5.40341e-05, No Iterations 1 Min/max T:292.92 325.612 --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used GAMG: Solving for p_rgh, Initial residual = 0.441588, Final residual = 0.00311991, No Iterations 12 time step continuity errors : sum local = 0.000507967, global = 3.8117e-05, cumulative = 3.8117e-05 --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used DILUPBiCGStab: Solving for epsilon, Initial residual = 0.0690558, Final residual = 0.000399087, No Iterations 1 --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used --> FOAM Warning : From function virtual void Foam::fv::option::checkApplied() const in file cfdTools/general/fvOptions/fvOption.C at line 125 Source airToporous defined for field h but never used the fvOptions for both regions is as follows; For air region; Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // airToporous { type constantHeatTransfer; interpolationMethod cellVolumeWeight; nbrRegionName porous; master false; nbrModel porousToair; fields (h); semiImplicit no; } porosityBlockage { type interRegionExplicitPorositySource; interRegionExplicitPorositySourceCoeffs { interpolationMethod cellVolumeWeight; nbrRegionName porous; type DarcyForchheimer; d (-1000 -1000 1e4); f (0 0 0); coordinateSystem { type cartesian; origin (0 0 0); coordinateRotation { type axesRotation; e1 (0 1 0); e2 (0 0 1); } } } } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 8 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object fvOptions; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // porousToair { type constantHeatTransfer; interpolationMethod cellVolumeWeight; nbrRegionName air; master true; nbrModel airToporous; fields (e); semiImplicit no; } // ************************************************************************* // |
|
March 31, 2022, 15:51 |
|
#2 |
New Member
Raphael Santos
Join Date: Oct 2013
Posts: 20
Rep Power: 13 |
Hello Utkan,
have you find a solution to that issue? Cheers, |
|
April 6, 2022, 09:23 |
|
#3 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 5 |
he defined energy as h in fvoptions but is using in the theromprops the formulation with epsilon this visible in the solver log: solving for epsilon .... this cant work out
|
|
Tags |
chtmultiregionfoam, energy source term, fvoptions, heat exchanger two fluids, porosity; fvoptions |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] How can I define different zones in ICEM? | llrr | ANSYS Meshing & Geometry | 14 | February 12, 2017 14:44 |
UDF link fortran source | yorelchr | Fluent UDF and Scheme Programming | 0 | February 7, 2013 04:44 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 05:06 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 06:06 |