|
[Sponsors] |
December 18, 2019, 11:20 |
ViewFactor Radiation
|
#1 |
New Member
Mike Jäger
Join Date: Aug 2019
Posts: 7
Rep Power: 7 |
Hi People,
I try to get along with the viewFactor Radiation model. I studied the Theory and than built up an OpenFOAM case. The Simulation runs good but I still have some open Questions which I can't answer with literature. The viewfactor-model calculates the Parameter "qr", but when I turn radiation off, the temperature Distribution on a zeroGradient wall does not change. So the temperature field is always the same, it doens't matter if Radiation is turned on or off. In General the results are reasonable in Terms of viewFactorfields, faceAgglomeration (and residuals etc...) except the fact that "T" does not Change with Radiation on. I used the hotRadiationRoom-tutorial und modified it to be a viewFactor-case. Solver: buoyantSimpleFoam. I also tried buoyantBoussinesqSimpleFoam. Same results. When I look in the ".H"-files of the solvers, I see that both solvers consider a "radiation-term" in the Energy equation. So I am confused why the temperature does not change. Do I have to calculate the actual temperature considering Radiation within paraview? Thank you in advance |
|
December 18, 2019, 14:04 |
|
#2 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
||
December 19, 2019, 05:35 |
|
#3 |
New Member
Mike Jäger
Join Date: Aug 2019
Posts: 7
Rep Power: 7 |
Thank you. I already read this thread. This is not exactly my case, because I wonder why the temperature is not changing at a wall with "zeroGradient" boundary condition.
If I use "fixedValue" that is clear, that the wall temperature will not change if radiation is turned on. But at a "zeroGradient" wall it has to? Or am I wrong? |
|
December 19, 2019, 12:04 |
|
#4 |
Senior Member
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17 |
Post the case please!
|
|
January 2, 2020, 04:57 |
|
#5 |
New Member
Mike Jäger
Join Date: Aug 2019
Posts: 7
Rep Power: 7 |
I copied the "hotRadiationRoom"-tutorial, which is actually a fvDOM-radiation-tutorial and I changed it to a viewFactorcase (see CaseSetup.png).
First I execute "faceAgglomerate" Code:
Create time Create mesh for time = 0 Agglomerating patch : box Agglomerating patch : ceiling Agglomerating patch : floor Agglomerating patch : fixedWalls Writing facesAgglomeration End Code:
Create time Create mesh for time = 0 Total number of coarse faces: 70 Calculating view factors... Writing view factor matrix... End In the constant Directory radiationProperties, boundaryRadiationProperties and viewFactorsDict is located: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object boundaryRadiationProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // floor { type lookup; emissivity 0.95; } ceiling { type lookup; emissivity 0.95; } box { type lookup; emissivity 0.95; } fixedWalls { type lookup; emissivity 0.95; } // ************************************************************************* // Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object radiationProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // radiation on; radiationModel viewFactor; viewFactorCoeffs { smoothing true; //Smooth view factor matrix (use when in a close surface //to force Sum(Fij = 1) constantEmissivity true; //constant emissivity on surfaces. } // Number of flow iterations per radiation iteration solverFreq 1; absorptionEmissionModel constantAbsorptionEmission; constantAbsorptionEmissionCoeffs { absorptivity absorptivity [0 -1 0 0 0 0 0] 0.00; emissivity emissivity [0 -1 0 0 0 0 0] 0.00; E E [1 -1 -3 0 0 0 0] 0.00; } scatterModel none; sootModel none; transmissivityModel none; // ************************************************************************* // Code:
FoamFile { version 2.0; format ascii; class dictionary; object viewFactorsDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // //maxDynListLength 1000000; writeViewFactorMatrix true; writeFacesAgglomeration true; writePatchViewFactors false; box { nFacesInCoarsestLevel 20; featureAngle 10; } ceiling { nFacesInCoarsestLevel 20; featureAngle 10; } floor { nFacesInCoarsestLevel 20; featureAngle 10; } fixedWalls { nFacesInCoarsestLevel 20; featureAngle 10; } // ************************************************************************* // When executing the simulation with buoyantSimpleFoam the residuals are in an acceptable range and there is the notice that the viewFactors-equations are solved Code:
… Time = 1000 DILUPBiCGStab: Solving for Ux, Initial residual = 0.000665996, Final residual = 1.10894e-06, No Iterations 1 DILUPBiCGStab: Solving for Uy, Initial residual = 0.00107227, Final residual = 2.26247e-06, No Iterations 1 DILUPBiCGStab: Solving for Uz, Initial residual = 0.00145211, Final residual = 3.13363e-06, No Iterations 1 DILUPBiCGStab: Solving for h, Initial residual = 0.000692169, Final residual = 1.15632e-06, No Iterations 1 Solving view factor equations for band : 0 DICPCG: Solving for p_rgh, Initial residual = 0.00298525, Final residual = 2.88191e-05, No Iterations 51 time step continuity errors : sum local = 1.15563e-06, global = -1.19967e-19, cumulative = -5.61596e-18 rho min/max : 0.696266 1.16051 DILUPBiCGStab: Solving for epsilon, Initial residual = 0.000605439, Final residual = 1.35487e-05, No Iterations 1 DILUPBiCGStab: Solving for k, Initial residual = 0.00163685, Final residual = 1.98886e-05, No Iterations 1 ExecutionTime = 295.15 s ClockTime = 295 s ... Regarding to the viewFactor-equations the heat flux "qr" at the wall is calculated. Obviously this heat flux is not considered in the energy equation of the solver. What I am doing wrong? Maybe the boundary condition for the temperature T at the wall must be another and not "zeroGradient"? In that case I didn't find an appropriate so far. Best regards, Mike |
|
March 31, 2020, 10:07 |
|
#6 |
Member
Yann Guyot
Join Date: Feb 2019
Posts: 37
Rep Power: 7 |
||
March 24, 2023, 10:27 |
|
#7 |
New Member
Chris
Join Date: Jan 2022
Posts: 23
Rep Power: 4 |
I know it is a pretty old post but I stumble upon it, as I myself, trying to figure out the view factor model in version 9 of OpenFoam.
In your radiationProperties file you have Code:
constantAbsorptionEmissionCoeffs { absorptivity absorptivity [0 -1 0 0 0 0 0] 0.00; emissivity emissivity [0 -1 0 0 0 0 0] 0.00; E E [1 -1 -3 0 0 0 0] 0.00; } I see that you specify emissivity in boundaryRadiationProperties file. I my case I don't even have such a file and I specify emissivity in the 0/qr file. Chris Edit: Never-mind. The fields I mentioned above are only relevant for opaque regions. Last edited by Chris T; March 30, 2023 at 03:43. Reason: correction |
|
|
|