best practice for "inactive" subdomains? #28092
-
Check these boxes if you have followed the posting rules.
QuestionDear Moose Community, For various tasks in the field of engineering and mining, the excavation (and possibly refilling) of defined volumes must be modelled. In Moose this is usually to be done by "parking" elements in "inactive subdomains" via one of the SubdomainModifiers (e.g CoupledVarThresholdElementSubdomainModifier or TimedSubdomainModifier). Initially inactive subdomains may be created via add_subdomain_ids and/or add_subdomain_names in MooseMesh. With this discussion entry I'd like to gain insight on the best practice on how to define the inactive subdomain. As recommented here and shown there for the "inactive" subdomains a Diffusion or MatDiffusion kernels may be used. As stated in the first link, I assume that the usual requirements for the inactive domain are as follows (open for discussion):
Now my questions start, all dealing on what are the best practice to define these inactive domains:
Kind regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
There should be either no equations there because the variables are block-restricted away from them
Yes that seems fair. To do that, remove the variables and auxvariables from those subdomains
This seems fine if you move them back to the active subdomains
No it's not. Just turn off the kernel_coverage_check
NullKernel is fine. A TimeDerivative is fine too
Not really. For now these checks are on/off. But you could change the checks to ignore the inactive subdomains. We would need new code to identify the inactive subdomains
This seems fine. An alternative could be this:
|
Beta Was this translation helpful? Give feedback.
There should be either no equations there because the variables are block-restricted away from them
OR
Only trivial equations (dc/dt = 0) if for some reason the variables need to still be there
Yes that seems fair. To do that, remove the variables and auxvariables from those subdomains
This seems fine if you move them back to the active subdomains