CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   What does this error when use solver chtMultiRegionFoam mean (https://www.cfd-online.com/Forums/openfoam-solving/142486-what-does-error-when-use-solver-chtmultiregionfoam-mean.html)

sajad6 October 2, 2014 05:09

What does this error when use solver chtMultiRegionFoam mean
 
When I use openfoam turorials multiRegionHeater when I write blockMesh in terminal there isnt any problem but when I write chtMultiRegionFoam terminal write this :
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-0bc225064152
Exec : chtMultiRegionFoam
Date : Oct 02 2014
Time : 12:04:55
Host : "sajad-pc"
PID : 1938
Case : /home/sajad/Desktop/multiRegionHeater
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create fluid mesh for region bottomAir for time = 0



--> FOAM FATAL ERROR:
Cannot find file "points" in directory "bottomAir/polyMesh" in times 0 down to constant

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&)
in file db/Time/findInstance.C at line 188.

FOAM exiting


what's the problem?is anybody now ? I exactly copy the openfoam tutorial and use chtMultiRegionFoam solver.why it write fatal error?

GDTech October 2, 2014 05:18

Hi,

That error means your mesh has not been built correctly.
Running blockMesh is not enough to create a multi region case for chtMultiRegionFoam because mesh has to be split into regions.
Have a look at Allrun script in the tutorial directory and execute it.

Regards.

sajad6 October 2, 2014 16:03

Quote:

Originally Posted by GDTech (Post 512667)
Hi,

That error means your mesh has not been built correctly.
Running blockMesh is not enough to create a multi region case for chtMultiRegionFoam because mesh has to be split into regions.
Have a look at Allrun script in the tutorial directory and execute it.

Regards.


tnx for your reply.
do you mean that I should change openfoam tutorial multiRegionHeater to see this solver how work?multiRegionHeater isn't complete?
if multiRegionHeater is incomplete do you have any complete tutorial in order to see chtMultiRegionFoam how work?

GDTech October 3, 2014 02:28

No, I said you have to use Allrun script :

Quote:

Originally Posted by GDTech (Post 512667)
Hi,

Have a look at Allrun script in the tutorial directory and execute it.

Regards.


sajad6 October 3, 2014 13:27

Quote:

Originally Posted by GDTech (Post 512765)
No, I said you have to use Allrun script :

tnx for your answer.
I execute ./Allrun and terminal write this:

sajad@sajad-pc:~/Desktop/multiRegionHeater$ ./Allrun
blockMesh already run on /home/sajad/Desktop/multiRegionHeater: remove log file to re-run
Running topoSet on /home/sajad/Desktop/multiRegionHeater
splitMeshRegions already run on /home/sajad/Desktop/multiRegionHeater: remove log file to re-run
Running chtMultiRegionSimpleFoam on /home/sajad/Desktop/multiRegionHeater

creating files for paraview post-processing

created 'multiRegionHeater.blockMesh'
created 'multiRegionHeater.OpenFOAM'
created 'multiRegionHeater{bottomAir}.OpenFOAM'
created 'multiRegionHeater{heater}.OpenFOAM'
created 'multiRegionHeater{leftSolid}.OpenFOAM'
created 'multiRegionHeater{rightSolid}.OpenFOAM'
created 'multiRegionHeater{surrondingSolid}.OpenFOAM'
created 'multiRegionHeater{topAir}.OpenFOAM'

creating files for residual

./Allrun: 58: foamLog: Permission denied


why at the end it write Permission denied?

zfaraday October 3, 2014 14:18

Try first to run ./Allclean.

If you don't have permissions type in the temrinal

chmod +x <name of the document>

Regards,

Alex

sajad6 October 3, 2014 15:15

Quote:

Originally Posted by zfaraday (Post 512836)
Try first to run ./Allclean.

If you don't have permissions type in the temrinal

chmod +x <name of the document>

Regards,

Alex


tnx for your replying.
I don't use chmod until now.can you tell me how can I use this command for my purpose ? what is +x in this command ? what document I should write to permit me solve the problem ?

zfaraday October 6, 2014 07:38

What you are requesting you can easily find it out by yourself by typing in the terminal:

Code:

chmod --help
Regards,

Alex


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