Hi ATS community,
I would like to follow up on a question raised in 2021. Is ATS v1.6 currently able to initialise a spatially variable permeability field directly from an Exodus file at the cell level?
I have been attempting to initialise permeability using an Exodus element variable with the following configuration, and I have been working through this issue for several days now:
<ParameterList name="permeability" type="ParameterList">
<Parameter name="evaluator type" type="string" value="independent variable tensor"/>
<Parameter name="constant in time" type="bool" value="true"/>
<Parameter name="tensor type" type="string" value="scalar"/>
<ParameterList name="exodus file initialization" type="ParameterList">
<Parameter name="file" type="string" value="../Geo_permeability.exo"/>
<Parameter name="attributes" type="Array(string)" value="{PERMEABILITY}"/>
</ParameterList>
</ParameterList>
The Exodus file contains the permeability field as an element variable named PERMEABILITY. The file contains 10,791 elements distributed across four element blocks, following the same block-based structure used previously before introducing the heterogeneous permeability field.
The Exodus file is successfully storing the spatially variable permeability values. For example, the first few entries of the element variable are:
Block 1:
Element0: ##e-##
Element1: ##e-##
Block 2:
Element 0: ##e-##
Element 1: ##e-##
Block 3:
Element 0: ##e-##
Element 1: ##e-##
Block 4:
Element 0: ##e-##
Element 1: ##e-##
Therefore, the Exodus file appears to contain the correct element-centred permeability field. However, I have not been able to determine the correct input structure required by ATS to map this element variable to the ATS cell component.
The errors I encountered include messages such as:
CompositeVectorFunctionFactory:
missing "function" sublist
FunctionFactory:
unknown function type: exodus file initialization
An alternative approach I also tried was to first extract cell IDs from the Paraview-supported Exodus file (Docker version), then manually assign permeability values to each element block using constant functions. However, this requires an additional preprocessing step because I have not been able to obtain the complete cell-to-permeability mapping directly from the ATS-supported Exodus file.
My questions are:
Thank you for your support. I look forward to hearing from the community.
Best regards,
Olawale
--
You received this message because you are subscribed to the Google Groups "Amanzi-ATS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-users/93ef26ca-a16d-4b8c-97c6-a1f9853eb9c6n%40googlegroups.com.