TAGGED: cfd, cluster, fluent, scheme, scheme-file
-
-
February 15, 2022 at 4:45 amvedamaSubscriber
Hello, I'm trying to run a simulation on a PBS cluster using a Scheme file but it seems to be crashing for some reason. Using the same exact scheme commands, when I run on my local Windows PC, it works fine though, so I'm a bit puzzled.
Here is my command to open fluent on the cluster with the scheme file:
fluent 3ddp -pinfiniband -g -driver null -ssh -t$PBS_NP -cnf=$PBS_NODEFILE -i scheme_journal_test.scm > op.out
This is the scheme line where the error occurs:
 (define ncells (string->number(pick-robust "/mesh/mesh-info 0 q q" 33)))
This is the error message from the .out file:
/mesh/mesh-info 0
===============Message from the Cortex Process================================
Compute processes interrupted. Processing can be resumed.
==============================================================================
q q
Warning: An error or interrupt occurred while reading the journal file.
Some commands may not have been completed.
> Halting due to end of file on input.
Like I said, the scheme file works perfectly fine on my Windows PC but it fails on my cluster so I'm not sure what is wrong. I would appreciate some help, please.
February 15, 2022 at 8:13 amAmine Ben Hadj AliAnsys EmployeeStart Fluent without having that line in the journal. In the interactive session: can you check that scheme line?
February 15, 2022 at 8:13 amAmine Ben Hadj AliAnsys EmployeeWhat do you want to do? Get the number of cells?
February 15, 2022 at 8:17 amAmine Ben Hadj AliAnsys EmployeeI have better idea using Fluent expressions and volume Integrals. In next version nothing will be required to get the number of cells.
February 15, 2022 at 5:38 pmvedamaSubscriberI get this, which is weird because it's the same grid/case file that I'm using in my local PC
> (define ncells (string->number(pick-robust "/mesh/mesh-info 0 q q" 33)))
Error at Node 0: Print_Domain: invalid grid
Error at host: Print_Domain: invalid grid
/mesh/mesh-info 0
===============Message from the Cortex Process================================
Compute processes interrupted. Processing can be resumed.
==============================================================================
Error: Print_Domain: invalid grid
Error Object: #f
Error: Error encountered in (pick ...)
Error Object: "/mesh/mesh-info 0 q q"
q q
February 15, 2022 at 5:39 pmvedamaSubscriberYes, I'm looking to automate a scheme script for which I need the grid size
February 17, 2022 at 10:14 pmvedamaSubscriberThe Scheme commands work when I type them out interactively on the cluster but it produces the error when I run it as a journal script from the bash line using -i
Is there another way to call the Scheme (.scm) script? Is it different from -i which is used for journal files?
February 18, 2022 at 3:55 pmAmine Ben Hadj AliAnsys EmployeeThe journal file should contain all steps from reading case or reading case and data or reading mesh till the part where you want to execute what you want to do with scheme.
February 18, 2022 at 3:56 pmAmine Ben Hadj AliAnsys EmployeeSo having a journal file containing only this line
(define ncells (string->number(pick-robust "/mesh/mesh-info 0 q q" 33)))
is wrong!
February 18, 2022 at 4:41 pmvedamaSubscriber
It's not the only line in the file. I have lines before and quite a few after. This is just the line that's causing the error. I've said earlier, it works on my local PC but it fails on the cluster. But when I interactively type these commands on the cluster, it works. Is there a separate way to invoke the scheme file without having to run interactively? Is -i the only way to call the scheme file?
Viewing 9 reply threads- The topic ‘Scheme file causing fluent crash on cluster’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors-
1216
-
543
-
523
-
225
-
209
Top Rated Tags© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-