TAGGED: cfd, cluster, fluent, scheme, scheme-file
-
-
February 15, 2022 at 4:45 am
vedama
SubscriberHello, 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 amDrAmine
Ansys 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 amDrAmine
Ansys EmployeeWhat do you want to do? Get the number of cells?
February 15, 2022 at 8:17 amDrAmine
Ansys 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 pmvedama
SubscriberI 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 pmvedama
SubscriberYes, I'm looking to automate a scheme script for which I need the grid size
February 17, 2022 at 10:14 pmvedama
SubscriberThe 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 pmDrAmine
Ansys 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 pmDrAmine
Ansys 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 pmvedama
Subscriber
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- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Contributors-
3778
-
2587
-
1831
-
1244
-
598
Top Rated Tags© 2023 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.
-