|
[Sponsors] |
June 3, 2024, 17:02 |
Help on detecting wrong configuration
|
#1 |
New Member
Matias Alberto Aguirre
Join Date: Mar 2023
Posts: 11
Rep Power: 3 |
Hi everyone!
I'm trying to solve a case where an electric arc (represented as a zone filled with "superheated air", any electromagnetic simulation is not taken into account) heats the air inside a metal box, see attached GMSH geometry screenshot. I'm using OpenFoam v11 (openfoam.org version 11) with foamRun application and fluid solver. Transonic option is set on. I set a heatSource at the little dot, called blastSource, which radiates with P1 model to the rest of the volume. Also, buoyancy is applied. You can see all this configuration here: Code:
FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object fvModels; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // volumetricHeatSource { type heatSource; select cellZone; cellZone blastSource; q 7600000000;//1486693; 0.4*4553000 aprox. 1.8e6 } radiationCoeffs { type radiation; libs ("libradiationModels.so"); } buoyancyForce { type buoyancyForce; } Code:
FoamFile { format ascii; class dictionary; location "constant"; object radiationProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // radiationModel P1; // Number of flow iterations per radiation iteration solverFreq 10; absorptionEmissionModel constant; constantCoeffs { absorptivity 0.5; emissivity 0.5; E 0; } scatterModel none; sootModel none; Code:
FoamFile { format ascii; class volScalarField; location "0"; object G; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 0 -3 0 0 0 0]; internalField uniform 0; boundaryField { back { type zeroGradient; } front { type zeroGradient; } bottom { type zeroGradient; } right { type zeroGradient; } top { type zeroGradient; } left { type zeroGradient; } opening { type zeroGradient; } plasmaSurf { type MarshakRadiation; //constantAbsorptionEmission; emissivityMode lookup; emissivity uniform 1.0; T T; value uniform 0; } } Code:
FoamFile { format binary; class volScalarField; location "0"; object T; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "inputs" dimensions [0 0 0 1 0 0 0]; internalField uniform $temperature; boundaryField { back { type zeroGradient; } front { type zeroGradient; } bottom { type zeroGradient; } right { type zeroGradient; } top { type zeroGradient; } left { type zeroGradient; } opening { type zeroGradient; } plasmaSurf { type inletOutletTotalTemperature; gamma 1.4; Qr Qr; T0 uniform $temperature; } } That T profile does not change much throughout the simulation (0.25 s with a 1e-06 s as deltaT), those few cells are the only ones heated. Does anyone know what could be the problem? Maybe I set wrong the radiation model? Or any BC? Cheers, Matias. |
|
Tags |
fluid; radiation; |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FOAM FATAL IO ERROR: Wrong token type | francedisab | OpenFOAM | 4 | January 30, 2024 07:09 |
What's wrong with COMSOL? | andy.sun.wei | COMSOL | 9 | March 23, 2022 13:30 |
Something wrong running rhoSimpleFoam (urgent!) | PeterShi | OpenFOAM Running, Solving & CFD | 7 | March 1, 2017 10:21 |
udf error | srihari | FLUENT | 1 | October 31, 2016 15:18 |
calculating missle configuration by panel method | Daniel | Main CFD Forum | 5 | January 6, 2003 09:09 |