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

OF v1612+ scalarTransport

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2018, 13:51
Exclamation OF v1612+ scalarTransport
  #1
New Member
 
B. Assaad
Join Date: Sep 2014
Posts: 14
Rep Power: 11
bassaad17 is on a distinguished road
Hello,

I'm trying to get the correct Tracer file for my model properly defined in 'controlDict' but the model does NOT run in parallel when using 16 processors for OF v1612+.

The model I received was written for OF v1606+ and it is running properly when using 'mpirun -np 8 buoyantBoussinesqSimpleFoam -parallel >> buoyantBoussSimpleFoam20.log' on OFv1606+

This is the tracer definition as written in OF v1606+

Code:
SPLC_Tracer
	{
		type scalarTransport;
		functionObjectLibs ("libutilityFunctionObjects.so");
		writeControl outputTime;
		writeInterval 8;
		active 	true;
		autoSchemes false;
		nCorr	0;
		resetOnStartUp false;
		fvOptions
	 	 {

	 	 }
	}
When doing research online, i found out that OF v1612+ updated the functionObjectLibs to libs and this is the new code i'm using:

Code:
SPLC_Tracer
	{
		type scalarTransport;
		libs ("libsolverFunctionObjects.so");
		field SPLC_Tracer;
		writeControl outputTime;
		writeInterval 8;
		active 	true;
		autoSchemes false;
		nCorr	0;
		resetOnStartUp false;
		fvOptions
	 	 {

	 	 }
	}
When I run the new SPLC_Tracer with OF v1612+, my model does NOT run in parallel - it crashes saying "MPI_ABORT"

This is the error seen on my linux terminal screen:

Code:
[2] --> FOAM FATAL IO ERROR:
[2] cannot find file
[2]
[2] file: /Projects/2018_10_03/RUN2_RMR/processor2/24/SPLC_Tracer at line 0.
[2]
[2]     From function regIOobject::readStream()
[2]     in file db/regIOobject/regIOobjectRead.C at line 237.
[2]
FOAM parallel run exiting
[2]
[linux-n2:13111] 15 more processes have sent help message help-mpi-api.txt / mpi-abort
[linux-n2:13111] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages

Do you know what do i need to do to overcome this issue and properly run my tracer in OF v1612+? I've also attached the .log file. Please help!
Attached Files
File Type: txt buoyantBoussSimpleFoam20.txt (3.1 KB, 1 views)

Last edited by bassaad17; October 5, 2018 at 15:27. Reason: included error message
bassaad17 is offline   Reply With Quote

Old   October 8, 2018, 08:05
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Quote:
Originally Posted by bassaad17 View Post
Code:
SPLC_Tracer
    {
        type scalarTransport;
        libs ("libsolverFunctionObjects.so");
        field SPLC_Tracer;
        writeControl outputTime;
        writeInterval 8;
        active     true;
        autoSchemes false;
        nCorr    0;
        resetOnStartUp false;
        fvOptions
          {

          }
     }
Code:
[2] --> FOAM FATAL IO ERROR:
 [2] cannot find file
[2]
[2] file: /Projects/2018_10_03/RUN2_RMR/processor2/24/SPLC_Tracer at line 0.
[2]
[2]     From function regIOobject::readStream()
[2]     in file db/regIOobject/regIOobjectRead.C at line 237.
[2]
FOAM parallel run exiting
[2]
[linux-n2:13111] 15 more processes have sent help message help-mpi-api.txt / mpi-abort
[linux-n2:13111] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
The field you defined in your code snippet is a dictionary file containing the boundary conditions for your tracer and which has to be placed in the 0/ folder. By standard this file is called T or s, but you told your simulation the file is called SPLC_Tracer. So make sure that this file is accurately named and placed in the 0/ folder. Obviously this file has also to appear in all following timestep folder (e.g. 24).
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Reply

Tags
controldict, openfoam, tracer, v1606+, v1612+

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
interFoam and scalarTransport function object with fvOptions sources fusij OpenFOAM Running, Solving & CFD 4 April 18, 2022 07:12
functionObject scalarTransport searches File s fanta OpenFOAM Running, Solving & CFD 0 September 4, 2017 03:01
scalarTransport pez OpenFOAM Post-Processing 5 March 29, 2016 10:49
fvOptions scalarTransport utility matthew.legg OpenFOAM Post-Processing 16 April 14, 2015 12:23
Regarding the adaptation of scalarTransport Foam as well as general openFOAM logic. HFonten1 OpenFOAM 0 August 10, 2010 13:05


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