|
[Sponsors] |
April 18, 2013, 13:26 |
chtmultiregionSimplefoam error !!
|
#1 |
Member
Samer
Join Date: Jan 2013
Posts: 31
Rep Power: 13 |
hi all
i am trying the tutorial case of multiRegionHeater and whenever i execute splitMeshRegions -cellZones -overwrite i get the Following Error: Create time Create mesh for time = 0 Trying to match regions to existing cell zones. Number of regions:5 Writing region per cell file (for manual decomposition) to "/home/samer/OpenFOAM/samer-1.6-ext/run/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/constant/cellToRegion" Writing region per cell as volScalarField to "/home/samer/OpenFOAM/samer-1.6-ext/run/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeater/0/cellToRegion" Region Cells ------ ----- 0 1460 1 130 2 80 3 130 4 1200 Region Zone Name ------ ---- ---- 0 4 bottomAir 1 0 leftSolid 2 3 heater 3 2 rightSolid 4 1 topAir Sizes inbetween regions: Region Region Faces ------ ------ ----- 0 3 130 3 4 130 0 1 130 2 4 40 2 3 10 1 2 10 0 2 92 1 4 130 Reading volScalarField K Reading volScalarField rho Reading volScalarField cellToRegion Reading volScalarField p Reading volScalarField T Reading volScalarField k Reading volScalarField cp Reading volScalarField epsilon Reading volVectorField U Adding patches Adding patches Inserting patch bottomAir_to_rightSolid to slot 6 out of 6 --> FOAM Warning : From function gAverage(const UList<Type>&) in file /home/samer/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/FieldFunctions.C at line 524 empty field, returning zero. --> FOAM FATAL ERROR: request for polyMesh rightSolid from objectRegistry multiRegionHeater failed available objects of type polyMesh are 1 ( region0 ) From function objectRegistry::lookupObject<Type>(const word&) const in file /home/samer/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 140. FOAM aborting Aborted (core dumped) Can you help me with this? I am new to OpenFoam and my objective after is to implement the temperature coupling to an FSI solver..... |
|
September 6, 2013, 16:34 |
|
#2 |
New Member
Andrea Prestigiacomo
Join Date: Jun 2013
Location: Milan
Posts: 10
Rep Power: 13 |
Hi Samer.
Just today I've encountered the same error during a simulation for my thesis work... Have you finally found a solution? Thank you |
|
September 7, 2013, 10:36 |
|
#3 |
Member
Samer
Join Date: Jan 2013
Posts: 31
Rep Power: 13 |
well i worked on another strategy, but i think the solution to this problem is to change the neighbour region type in the dictionary file from fluid to region0, it will work, try it and see...
|
|
September 8, 2013, 08:15 |
|
#4 |
New Member
Andrea Prestigiacomo
Join Date: Jun 2013
Location: Milan
Posts: 10
Rep Power: 13 |
Ok, I'll try it...
Thank you |
|
September 19, 2019, 07:41 |
|
#5 |
Member
Vishnu
Join Date: May 2019
Location: Tamilnadu, India
Posts: 55
Rep Power: 7 |
Hi all,
As for as now i have only solid body. My case is Incompressible, Heat transfer, Steady state. I need to create heat flux on the surface of the solid body (@wall). And my inputs are heat flux (W/m²) for surface or (W/m³) for body. And while running chtMultiRegionSimpleFoam solver.. I am facing this error Code:
Solving for solid region solid --> FOAM FATAL ERROR: gradientInternalCoeffs cannot be called for a calculatedFvPatchField on patch wall-cp-2 of field h in file probably trying to solve for a field with a default boundary condition. From function calculatedFvPatchField<Type>::gradientInternalCoeffs() const in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 199. FOAM exiting This is my solveSolid.H file Code:
{ for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) { fvScalarMatrix hEqn ( ( thermo.isotropic() ? -fvm::laplacian(betav*thermo.alpha(), h, "laplacian(alpha,h)") : -fvm::laplacian(betav*tAnialpha(), h, "laplacian(alpha,h)") ) == fvOptions(rho, h) ); hEqn.relax(); fvOptions.constrain(hEqn); hEqn.solve(); fvOptions.correct(h); } } thermo.correct(); Info<< "Min/max T:" << min(thermo.T()) << ' ' << max(thermo.T()) << endl; Thankyou in advance Vishsel |
|
September 20, 2019, 06:26 |
|
#6 |
Senior Member
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16 |
The error seems to come from your boundary condition. Have you a coupled boundary condition? If you have only a solid and no neighbor fluid this is maybe the problem
|
|
January 28, 2021, 03:03 |
|
#7 |
New Member
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
$ chtmultiregionSimpleFoam
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ /* Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt *\ | Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com | \*---------------------------------------------------------------------------*/ Build : 5.x-963176928289 Exec : C:/PROGRA~1/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/chtmultiregionSimpleFoam.exe Date : Jan 28 2021 Time : 10:51:50 Host : "HP" PID : 9260 I/O : uncollated Case : C:/PROGRA~1/BLUECF~1/ofuser-of5/run/chtpipe 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 air for time = 0 Create solid mesh for region solid for time = 0 *** Reading fluid mesh thermophysical properties for region air Adding to thermoFluid Selecting thermodynamics package { type heRhoThermo; mixture pureMixture; transport const; thermo hConst; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } Adding to rhoFluid Adding to UFluid Adding to phiFluid Adding to gFluid Adding to hRefFluid Adding to ghFluid Adding to ghfFluid Adding to turbulence Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave RAS { RASModel kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.5555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } Selecting radiationModel none Adding MRF No MRF models present Adding fvOptions No finite volume options present *** Reading solid mesh thermophysical properties for region solid Adding to thermos Selecting thermodynamics package { type heSolidThermo; mixture pureMixture; transport constIso; thermo hConst; equationOfState rhoConst; specie specie; energy sensibleEnthalpy; } --> FOAM Warning : From function const Foam::HashTable<Foam::List<int>, Foam::word>& Foam:olyBoundaryMesh::groupPatchIDs() const in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 467 Removing patchGroup 'wall' which clashes with patch 1 of the same name. Adding to radiations Selecting radiationModel opaqueSolid Adding fvOptions No finite volume options present Time = 1 Solving for fluid region air DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.01939955, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.04581175, No Iterations 1 DILUPBiCG: Solving for Uz, Initial residual = 1, Final residual = 0.00886154, No Iterations 1 --> FOAM FATAL ERROR: request for polyMesh wall from objectRegistry chtpipe failed available objects of type polyMesh are 2 ( air solid ) From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam:olyMesh] in file X:/OpenFOAM-5.x/src/OpenFOAM/db/objectRegistry/objectRegistryTemplates.C at line 193. FOAM aborting Generating stack trace... Backtrace: ZN10StackTraceC1Ev [0x705c1465+0x25] module: C:\PROGRA~1\BLUECF~1\ThirdParty-5.x\platforms\mingw_w64GccDPInt32\lib\libstack_tra ce.dll ZN4Foam5error10printStackERNS_7OstreamE [0x9f1c88+0x218] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFO AM.dll ZN4Foam5error5abortEv [0x7a5b5d+0x12d] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libOpenFO AM.dll ZNK4Foam14objectRegistry12lookupObjectINS_8polyMes hEEERKT_RKNS_4wordE [0x633b3f68+0x218] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libmeshTo ols.dll ZN4Foam12compressible56turbulentTemperatureCoupled BaffleMixedFvPatchScalarField12updateCoeffsEv [0x6b6484b2+0xa2] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libcompre ssibleTurbulenceModels.dll ZN4Foam17mixedFvPatchFieldIdE8evaluateENS_8UPstrea m10commsTypesE [0x6b6980c2+0x22] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libcompre ssibleTurbulenceModels.dll ZN4Foam29mixedEnergyFvPatchScalarField12updateCoef fsEv [0x6a30bd43+0xd3] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\lib\libfluidT hermophysicalModels.dll (No symbol) [0x41afff] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe (No symbol) [0x44fdd6] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe (No symbol) [0x4326f6] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe (No symbol) [0x486762] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe (No symbol) [0x4013f7] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe (No symbol) [0x40152b] module: C:\PROGRA~1\BLUECF~1\OpenFOAM-5.x\platforms\mingw_w64GccDPInt32Opt\bin\chtmultir egionSimpleFoam.exe BaseThreadInitThunk [0x7ff9540313f2+0x22] module: C:\Windows\system32\KERNEL32.DLL RtlUserThreadStart [0x7ff9549d54f4+0x34] module: C:\Windows\SYSTEM32\ntdll.dll This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. |
|
May 25, 2023, 08:24 |
|
#8 |
New Member
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 29
Rep Power: 3 |
Hi,
I got the same problem. However, I don't know where I can find the dictionary file to change the neighbour region type from air to region0. Please help me. I am a new person to OpenFoam. Thanks, TGS |
|
September 3, 2023, 15:35 |
|
#9 |
New Member
Jialin
Join Date: Jul 2023
Posts: 2
Rep Power: 0 |
Hi TGS
I have same problem now and didnt find solustion. did you solved jet? Thanks, Jialin |
|
September 6, 2023, 06:36 |
|
#10 | |
New Member
TGS
Join Date: May 2023
Location: United Kingdom
Posts: 29
Rep Power: 3 |
Quote:
Yes I solved the problem. Once I did the topoSet, I applied the splitMeshRegions -cellZonesOnly -overwrite instead of splitMeshRegions -cellZones -overwrite. Then it showing only the available cell Zones in my case. Not showing any other regions. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
c++ libraries and solver compiling | vaina74 | OpenFOAM Installation | 13 | February 3, 2012 18:43 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 16:46 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |