We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 160bd73 commit a4bb9acCopy full SHA for a4bb9ac
caelus/post/funcobj/functions.py
@@ -39,6 +39,7 @@
39
40
from ...io import ControlDict
41
from ...io.caelusdict import CaelusDict
42
+from ...io.dtypes import FoamType
43
from .forces import ForceCoeffs, Forces, LiftDrag
44
from .residuals import Residuals
45
from .sampling import SampledSets, SampledSurfaces
@@ -88,6 +89,9 @@ class will attempt to infer the functions activated in ``controlDict``
88
89
90
fobj = {}
91
for k, v in self.data.items():
92
+ if isinstance(v, FoamType):
93
+ continue
94
+
95
ftype = v['type']
96
if ftype not in _func_obj_map:
97
_lgr.info("Skipping function object: %s (%s)", k, ftype)
0 commit comments