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

Journal File- invalid command

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2018, 04:59
Default Journal File- invalid command
  #1
ffs
New Member
 
John Smith
Join Date: Feb 2018
Posts: 3
Rep Power: 8
ffs is on a distinguished road
Hi,

I'm having trouble with getting my journal file to run on a linux machine (HPC). The file runs perfectly on a Windows 10 platform. Both are running Ansys 18.2 and Fluent 18. Simple journal file commands attached. Transient simulation.

It fails at two lines
1) /solve/initialize/hyb-initialization
2) /solve/dual-time-iterate 10 21

The dual-time-iterate command produces this error, but only on a linux version. /solve/dual-time-iterate 10 invalid command [10]

Any ideas on why, or a possible workaround?

Cheers
Attached Files
File Type: txt testingfluent.txt (257 Bytes, 34 views)
ffs is offline   Reply With Quote

Old   February 25, 2018, 22:13
Default Solution
  #2
ffs
New Member
 
John Smith
Join Date: Feb 2018
Posts: 3
Rep Power: 8
ffs is on a distinguished road
Problem Solved! Use the batch command -gu, not -g as it seems fluent requires graphics to run hyb-initialization and dual-time-iterate
ffs is offline   Reply With Quote

Old   October 14, 2019, 20:31
Default
  #3
New Member
 
Ekha
Join Date: Aug 2018
Posts: 16
Rep Power: 7
ekha is on a distinguished road
Hi,

I am facing the same errors, could you please explain how you solved this issue. How to use -gu command ?

Thanks
Esra
ekha is offline   Reply With Quote

Old   October 14, 2019, 21:13
Default
  #4
ffs
New Member
 
John Smith
Join Date: Feb 2018
Posts: 3
Rep Power: 8
ffs is on a distinguished road
Hi Esra,


Here's a (stripped) example of my batch file with the commands I used. I was running on a cluster. Just put the commands similar to testingfluent.txt in your journal file.



#!/bin/bash
#
#PBS commands go here

set echo on
hostname

# Load the ansys module
module load ansys/18.2

# Move to the directory where the job was submitted from
# Create the config file for socket communication library
cd $PBS_O_WORKDIR

rm -f pnodes
cat $PBS_NODEFILE | sort > pnodes
export ncups=`cat pnodes |wc -l`

version=2ddp

# Run Fluent
fluent $version -t$npus -cnf=$PBS_NODEFILE -gu -i journalfile.jou > output_file
ffs is offline   Reply With Quote

Old   December 14, 2020, 03:26
Default
  #5
Member
 
Join Date: Dec 2018
Posts: 75
Rep Power: 7
hbulus is on a distinguished road
Quote:
Originally Posted by ffs View Post
Hi,

I'm having trouble with getting my journal file to run on a linux machine (HPC). The file runs perfectly on a Windows 10 platform. Both are running Ansys 18.2 and Fluent 18. Simple journal file commands attached. Transient simulation.

It fails at two lines
1) /solve/initialize/hyb-initialization
2) /solve/dual-time-iterate 10 21

The dual-time-iterate command produces this error, but only on a linux version. /solve/dual-time-iterate 10 invalid command [10]

Any ideas on why, or a possible workaround?

Cheers
You have to close the residual plotting in .cas file(only printing), because you are opening without gui settings. This contradiction makes problem while using journal.

Cheers
Halil
hbulus 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
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 09:07
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


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