Skip to content

Need help with understanding how LocalMapdlPool works. #3287

Answered by germa89
saitade-bh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adeebsaitBH

The latest documentation of MapdlPool is in Create a pool of MAPDL instances. I recommend you to have a look at it.

MapdlPool is a object that allows you to manage multiple MAPDL instances from a single object. It also support queuing, using the MapdlPool.map and run_batch.

It seems to me that you want to do something similar to what is done in here: Run an user function

Since the funcion you attached seems to run through all the input files in a folder (I am guessing), you might want to do something like:

# assuming that 10300 load cases are in here
load_cases_dir = r"path/to/load/cases"

load_cases_files = os.listdir(load_cases_dir)

# Create pool
from ansys.mapdl.core i…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@saitade-bh
Comment options

@saitade-bh
Comment options

Answer selected by germa89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants