CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error cannot find file constant/fluid1/mapDist using chtMultiRegionSimpleFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By krankwelle31
  • 1 Post By cfdInCivil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 23, 2021, 10:23
Default Error cannot find file constant/fluid1/mapDist using chtMultiRegionSimpleFoam
  #1
New Member
 
Join Date: Feb 2021
Posts: 1
Rep Power: 0
krankwelle31 is on a distinguished road
Hello everyone !

I'm trying to run a simulation corresponding to my case starting from the tutorial multiRegionHeateRadiation.
For now, I only worked on the regions and the mesh, I didn't change any properties of the used regions (heater, bottomAir, leftSolid which I renamed Solid).

At my previous step the simulation was structured as 3 layers with as dimensions 0.02x0.02x0.01m :
- heater = bottom
- Solid = middle
- bottomAir = top
and this simulation was running without any problems.

Now I wanted to change the positions of the regions heater and Solid. I would like to have "heater" as a 0.02m square in the middle and "Solid" surrounds "heater" as a 0.04m square and "bottomAir" as a gas flow on the top of these 2 solid regions.

When I launch the simulation I received this error in "log.chtMultiRegionSimpleFoam :

*** Reading fluid mesh thermophysical properties for region bottomAir

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 hRefFluid

Adding to ghFluid

Adding to ghfFluid

Adding to turbulence

Selecting turbulence model type laminar
Selecting laminar stress model Stokes
Selecting radiationModel viewFactor
Selecting absorptionEmissionModel none
Selecting scatterModel none
Selecting sootModel none


--> FOAM FATAL ERROR:
cannot find file ".../4.1_SquarePart/constant/bottomAir/mapDist"

From virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const
in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 546.

FOAM exiting


In fact the file mapDist was not created, but it was in the previous simulation I ran. I don't know at which step of the simulation it is created, this is why I'm asking for your help The mesh is correct, I can open it in paraview.
CarlesD likes this.
krankwelle31 is offline   Reply With Quote

Old   July 26, 2022, 09:25
Default
  #2
New Member
 
Join Date: Mar 2022
Posts: 4
Rep Power: 4
cfdInCivil is on a distinguished road
Hi krankwelle31,
I had the same problem and I could solve the error by increasing the maxDynListLength in the file /constant/air/viewFactorsDict.

Best
CarlesD likes this.
cfdInCivil is offline   Reply With Quote

Reply


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
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


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