First time here? Checkout the FAQ!
x
0 votes
by (180 points)

Is there yet a way to scale conductivities anisotropically on a per-element basis using the gi_scale_vec input? I was thinking a numelem x 3 .dat file with a conductivity scale for each element for each direction. Such a concept is mentioned in this question, and Aurel mentioned that such an addition would be feasible.

1 Answer

0 votes
by (19.1k points)

No, currently this is not possible.

To integrate this feature, it'll be best to open a Feature Request issue to discuss and coordinate this effort there between you, any contributor and potentially a core developer: https://git.opencarp.org/openCARP/openCARP/-/issues/?label_name%5B%5D=Feature%20Request

After a quick look, the input file reading is triggered here: https://git.opencarp.org/openCARP/openCARP/-/blob/master/physics/electrics.cc?ref_type=heads#L170

the actual reading is done by this function: https://git.opencarp.org/openCARP/openCARP/-/blob/master/fem/slimfem/src/SF_parallel_utils.h?ref_type=heads#L362

Options could be to either read 3 values per element (gi_l, gi_t, gi_n) or to have one file per conductivity direction.

In the latter case, new input parameters would need to be added to https://git.opencarp.org/openCARP/openCARP/-/blob/master/simulator/openCARP.prm?ref_type=heads

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...