Skip to content

Spatial: DiffusionCoefficient should be handled analogously to AdvectionCoefficient. #383

Open
@luciansmith

Description

From @matthiaskoenig :
For me it seems strange that these two transport mechanisms are handled so differently! Both advection and diffusion are just special transport mechanisms. I can imagine other Transport mechanisms (e.g. due to active transport). I would probably simplify/generalize the Diffusion/Advection to something along the line of.

TransportCoeffiecient:
	variable: SIdRef
	type: TransportType[Diffusion, Advection]
	coord1: CoordinateKind {use=”optional”}
	coord2: CoordinateKind {use=”optional”}
	coord3: CoordinateKind {use=”optional”}

This would allow simple extension of transport types in the future or define other transport types easily (e.g. via annotation). E.g. we have transport due to tissue deformation/change in fractions in porous media which could be described with such TransportCoefficients. Also things such as active transport (e.g. along axin/myosin fibers, …) could be handled via such TransportCoefficients. I think limiting transport to advection and diffusion and hard coding these in the specification is the wrong approach and introduces unnecessary complexity.

Due to the introduction of the various diffusion types almost a complete page is required in the specification to explain all the cases and combinations (section 3.10.2 and 3.10.3). See in comparison the 6 lines in 3.11.2.

I also have the feeling that the presented cases of isotropic/tensor Diffusion only work for the CartesianCoordinates. Not clear what isotropic would mean in polar coordinates because it would likely result in non-isotropic diffusion applying the same Diffusion parameter on the polar axes (due to stretching of space). Having finer grained control of defining the transport parameter over the respective coordinates is probably much more robust in other coordinate systems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions