|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 335
Rep Power: 6 ![]() |
Dear All,
I am trying to learn to use the chtMultiRegionFoam and I am starting with the tutorial. The 1st tutorial I wanted to run is the multiRegionHeater. I enter the dir of the case and I give the command: Code:
./Allrun Code:
lab@lab-laptop:~/Scrivania/multiRegionHeater$ ./Allrun
Running blockMesh on /home/lab/Scrivania/multiRegionHeater
Running topoSet on /home/lab/Scrivania/multiRegionHeater
Running splitMeshRegions on /home/lab/Scrivania/multiRegionHeater
Running chtMultiRegionFoam in parallel on /home/lab/Scrivania/multiRegionHeater using 2 processes
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
--> FOAM FATAL ERROR:
No times selected
From function reconstructPar
in file reconstructPar.C at line 139.
FOAM exiting
creating files for paraview post-processing
created 'multiRegionHeater{bottomAir}.OpenFOAM'
created 'multiRegionHeater{topAir}.OpenFOAM'
created 'multiRegionHeater{heater}.OpenFOAM'
created 'multiRegionHeater{leftSolid}.OpenFOAM'
created 'multiRegionHeater{rightSolid}.OpenFOAM'
Also, where can I find an explanation of this solver, since I guess it is a bit difficult to set everything properly? Thanks, Samuele |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,301
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Greetings Samuele,
The Allrun script uses a method of keeping a log of every application that is executed. If you look into the files "log.*", you should find the reason why things aren't working as expected. As for documentation, I'm not familiar with any document online for the "chtMultiRegion*Foam" solvers, so I suggest that you search for it ![]() Failing that, start studying the files that the tutorial case has, as well as looking at the code for the solver itself. Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 335
Rep Power: 6 ![]() |
I looked at the different log files and I noticed that there are problems in the log.chtMultiRegionFoam and in the log.reconstructPar.
These are the 2 files: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / 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 -parallel Date : Apr 05 2012 Time : 16:55:55 Host : "lab-laptop" PID : 7962 [0] -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. -------------------------------------------------------------------------- [0] [0] --> FOAM FATAL ERROR: [0] "/home/lab/Scrivania/multiRegionHeater/system/decomposeParDict" specifies 4 processors but job was started with 2 processors. [0] FOAM parallel run exiting [0] -------------------------------------------------------------------------- mpirun has exited due to process rank 0 with PID 7962 on node lab-laptop exiting without calling "finalize". This may have caused other processes in the application to be terminated by signals sent by mpirun (as reported here). -------------------------------------------------------------------------- Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / 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 : reconstructPar -region rightSolid Date : Apr 05 2012 Time : 16:55:56 Host : "lab-laptop" PID : 7968 Case : /home/lab/Scrivania/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 Thanks a lot, Samuele |
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,301
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Samuele,
You didn't specify if you had changed anything in the simulation case. Anyway, here are the steps to fix things:
Bruno
__________________
|
|
|
|
|
|
|
|
|
#5 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 335
Rep Power: 6 ![]() |
Hi Bruno and thanks for answering.
The steps you suggested make the tutorial work fine. Thanks a lot, Samuele |
|
|
|
|
|
|
|
|
#6 |
|
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 6 ![]() |
I does not work for me.
In the processor* directories, I don't have any time directories after the run except 0/ and constant/ processor0: 0 constant processor1: 0 constant processor2: 0 constant processor3: 0 constant All the time dir are in the base dir 0 10 20 30 Allclean Allrun ....... constant makeCellSets.setSet processor0 processor1 processor2 processor3 README.txt system This is with Ubuntu 10.04 Everything else is ok and this was working with older version. Any suggestions? Thanks This is written in a log file with mpirunDebug *** An error occurred in MPI_Init *** before MPI was initialized *** MPI_ERRORS_ARE_FATAL (your MPI job will now abort) Last edited by jam; June 5, 2012 at 12:48. |
|
|
|
|
|
|
|
|
#7 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,301
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Greetings Alain,
Can you be a bit more specific?
Bruno
__________________
|
|
|
|
|
|
|
|
|
#8 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 335
Rep Power: 6 ![]() |
Dear Alain,
I suggest you to try to run the case on a single processor. Than you can try to parallelize it! Samuele |
|
|
|
|
|
|
|
|
#9 |
|
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 6 ![]() |
@wyldckat
1. It is 10.04 2. 2.1.0 3. From the deb pkg 4. All parallel tutorials give the same messages mpirun -np 4 xxxxxx works as expected but the work is not distributed mpirun -np 4 xxxxxx -parallel gives the error messages I went back to the previous version 2.0.0 and everything is ok. |
|
|
|
|
|
|
|
|
#10 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,301
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Alain,
OK, it would be really useful to see a good log with errors, so it can be easier to diagnose the real error. Please run mpirun in a similar way to this: Code:
mpirun -n 4 interFoam -parallel > log.interFoam 2>&1 Then compress the file: Code:
tar -czf log.interFoam.tar.gz log.interFoam Another thing you can look at is if there is any folder and/or file present at "~/.OpenFOAM/", which is where OpenFOAM will look for global configuration files for the user. Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#11 |
|
Member
Alain Martin
Join Date: Mar 2009
Posts: 40
Rep Power: 6 ![]() |
I found the only method that works so far with my setup:
Installation on Ubuntu 12.04 LTS All others (2.1.1 deb pkg , 2.1.1 tgz source) are not compiling or running as they should. Only the 2.1.x from git works flawlessly. Thanks for the suggestions anyway. |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem on Fluent Tutorial: Horizontal Film Boilig | Feng | FLUENT | 2 | April 13, 2013 05:34 |
| newbie problem with cavity tutorial | miki | OpenFOAM Running, Solving & CFD | 8 | September 2, 2012 15:22 |
| Problem setting with chtmultiregionFoam | Antonin | OpenFOAM | 10 | April 24, 2012 09:50 |
| Solver problem in Oscillating Plate tutorial | vovogoal | CFX | 1 | November 22, 2011 09:54 |
| Help! Compiled UDF problem 4 Wave tank tutorial | Shane | FLUENT | 1 | September 3, 2010 02:32 |