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

Problem running potentialFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Antimony

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2017, 06:22
Default Problem running potentialFoam
  #1
New Member
 
IvánFB
Join Date: Mar 2017
Location: Spain
Posts: 10
Rep Power: 9
ivanfb95 is on a distinguished road
I have a problem trying to running potencialFoam in OpenFoam 4.1
First I had run decomposePar (8 subdomains)
Then I want to run: potentialFoam 8 -noFunctionObjects
The following error is displayed:

Usage: potentialFoam [OPTIONS]
options:
-case <dir> specify alternate case directory, default is the cwd
-initialiseUBCs Initialise U boundary conditions
-noFunctionObjects
do not execute functionObjects
-pName <pName> Name of the pressure field
-parallel run in parallel
-roots <(dir1 .. dirN)>
slave root directories for distributed running
-withFunctionObjects
execute functionObjects
-writePhi Write the velocity potential field
-writep Calculate and write the pressure field
-srcDoc display source code in browser
-doc display application documentation in browser
-help print the usage

Using: OpenFOAM-4.1 (see www.OpenFOAM.org)
Build: 4.1

--> FOAM FATAL ERROR:
Wrong number of arguments, expected 0 found 1

FOAM exiting

Can anybody help me?
Thanks.
ivanfb95 is offline   Reply With Quote

Old   March 5, 2017, 22:21
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 15
Antimony is on a distinguished road
Hi,

The syntax to run in parallel is:

Code:
mpirun -np <number of processors> <solver/utility name> <options for solver/utility>
In your case, you should have put it as:

Code:
mpirun -np 8 potentialFoam -noFunctionObjects
Source: https://cfd.direct/openfoam/user-gui...x7-630002.3.11

Cheers,
Antimony
ivanfb95 likes this.
Antimony is offline   Reply With Quote

Old   March 6, 2017, 04:13
Default
  #3
New Member
 
IvánFB
Join Date: Mar 2017
Location: Spain
Posts: 10
Rep Power: 9
ivanfb95 is on a distinguished road
Thanks for your help

The error has been solved.
ivanfb95 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
Problem About Running Fluent In Linux mitra FLUENT 18 June 20, 2019 02:11
ANSYS Licensing Problem, Processes Running but Showing as Not Running penguinman ANSYS 3 September 27, 2016 13:30
[Other] Problem running after decomposition paul.m.edwards OpenFOAM Meshing & Mesh Conversion 0 January 14, 2015 12:55
Problem while running in Highperformance computing environment Phanipavan STAR-CD 1 September 11, 2013 06:42
problem with running in parallel dhruv OpenFOAM 3 November 25, 2011 05:06


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