Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions src/ansys/mapdl/core/_commands/solution/analysis_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ def dmpext(
command = f"DMPEXT,{smode},{tmode},{dmpname},{freqb},{freqe},{nsteps}"
return self.run(command, **kwargs)

def dmpoption(self, filetype="", combine="", **kwargs):
def dmpoption(self, filetype="", combine="", rescombfreq="", deleopt="", **kwargs):
"""Specifies distributed memory parallel (Distributed ANSYS) file

APDL Command: DMPOPTION
Expand Down Expand Up @@ -1291,6 +1291,22 @@ def dmpoption(self, filetype="", combine="", **kwargs):

No - Do not combine solution files.

rescombfreq
Frequency used to combine the local results files during a distributed memory parallel solution. This option applies only when FileType = RST and Combine = YES.

NONE - Do not combine the local results files during solution. The local results files is combined only upon leaving the solution processor (default).

ALL - Combines the local results files at every time point.

LAST - Combines the local results files at the last time point of every load step.

deleopt
Option to delete local solution files of the type specified by FileType option after they are combined. This option applies only when Combine = Yes.

Yes - Delete the local solution files after they are combined.

No - Do not delete the local solution files after they are combined (default).

Notes
-----
The DMPOPTION command controls how solution files are written during a
Expand Down Expand Up @@ -1350,7 +1366,7 @@ def dmpoption(self, filetype="", combine="", **kwargs):
a subsequent analysis. In this case, use the COMBINE command to combine
local solution files into a single, global file.
"""
command = f"DMPOPTION,{filetype},{combine}"
command = f"DMPOPTION,{filetype},{combine}{rescombfreq},{deleopt}"
return self.run(command, **kwargs)

def dspoption(
Expand Down
Loading