Skip to content

Commit

Permalink
remove tortuosity from VapourDiffusionFEBEX property
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbuchwald committed Oct 16, 2024
1 parent e1805c7 commit 22093ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ogs6py/classes/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def __init__(self, tree: ET.ElementTree) -> None:
"maximal_porosity",
"minimal_porosity",
],
"VapourDiffusionFEBEX": ["tortuosity"],
"VapourDiffusionFEBEX": [],
"VapourDiffusionPMQ": [],
"VermaPruessModel": [
"critical_porosity",
Expand All @@ -210,6 +210,7 @@ def _generate_generic_property(
self, property_: ET.Element, args: dict[str, Any]
) -> None:
for parameter in self.properties[args["type"]]:
print(parameter,args[parameter])
self.populate_tree(property_, parameter, text=args[parameter])

def _generate_linear_property(
Expand Down Expand Up @@ -343,6 +344,7 @@ def add_property(self, **args: Any) -> None:
elif args["type"] == "Function":
self._generate_function_property(property_, args)
else:
print("generic")
self._generate_generic_property(property_, args)
except KeyError:
print("Material property parameters incomplete for")
Expand Down

0 comments on commit 22093ad

Please sign in to comment.