anisotropy/openfoam/miscellaneous.py

11 lines
285 B
Python
Raw Normal View History

from .application import application
2021-05-26 17:18:39 +05:00
def foamDictionary(filepath: str, entry: str, value: str = None, case: str = None):
args = [filepath, "-entry", entry]
if value:
args.extend(["-set", value])
application("foamDictionary", *args, case = case, stderr = False)