anisotropy/openfoam/miscellaneous.py
L-Nafaryus 4c18dc1b33 Working version
New: openfoam as package
Mod: logging
Fix: checking environment
New: virtual environment for python
2021-05-31 17:12:31 +05:00

11 lines
285 B
Python

from .application import application
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)