Function type parameter is not implemented in TH2M module
Description
I want to set a uniform gradient distribution of permeability in the bulk mesh using TH2M module, but Function type Parameter seems not to work in the .prj file.
Steps to Reproduce the Problem
- The code in my .prj file is like:
<parameter> <name>k02</name> <type>Function</type> <expression>exp(-(((x+100)^2+(y-200)^2)^0.5)*0.06)/1e13+1.16e-16</expression> <expression>0</expression> <expression>0</expression> <expression>0</expression> <expression>exp(-(((x+100)^2+(y-200)^2)^0.5)*0.06)/1e13+1.16e-16</expression> <expression>0</expression> <expression>0</expression> <expression>0</expression> <expression>exp(-(((x+100)^2+(y-200)^2)^0.5)*0.06)/1e13+1.16e-16</expression> </parameter>
Expected behavior: A uniform gradient distribution of permeability.
Actual behavior:
[9] error: FunctionParameter: The spatial position has to be set by coordinates.
Specifications
- Version: A self-compiled parallel computing version based on 6.4.2 with Petsc and mpich.
- Platform: (Linux with Ubuntu 20.04 based on WSL)