You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently developing a module to calculate thermal transmittance. The objects that we're modelling are multimaterial with internal gas spaces where there needs to be temperature dependent recalculation of conductivity due to radiation and convection effects. Thanks to the community I've got a simplified implementation using the Newton solver and GridFunctionCoefficient which seems to do what expected. However, if I want to generalize the implementation I think I need to take into account the boundary between solid and gaseous elements rather than putting all the information about emmissivity in the coefficient since it won't be generally true that an element represents the whole gas section.
Reading a bit through the documentation, I think I need to add an interior face integrator to the nonlinearform but I'm not sure and haven't found many examples on how to implement that functionality. Also, there doesn't seem to be a way to limit its use to certain boundaries as with boundary integrators (at least in mfem 4.7), How would I limit the action? Or am I barking up the wrong tree?
I've attached a snippet of what I'm doing at the moment:
The ThermalDiffusionIntegrator inherits from DiffusionIntegrator and has an override of the AssembleElementGrad method. Am I right in assuming what I need to add is conduct->AddInteriorFaceIntegrator line? Are there examples of the minimum requirement for implementation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I'm currently developing a module to calculate thermal transmittance. The objects that we're modelling are multimaterial with internal gas spaces where there needs to be temperature dependent recalculation of conductivity due to radiation and convection effects. Thanks to the community I've got a simplified implementation using the Newton solver and GridFunctionCoefficient which seems to do what expected. However, if I want to generalize the implementation I think I need to take into account the boundary between solid and gaseous elements rather than putting all the information about emmissivity in the coefficient since it won't be generally true that an element represents the whole gas section.
Reading a bit through the documentation, I think I need to add an interior face integrator to the nonlinearform but I'm not sure and haven't found many examples on how to implement that functionality. Also, there doesn't seem to be a way to limit its use to certain boundaries as with boundary integrators (at least in mfem 4.7), How would I limit the action? Or am I barking up the wrong tree?
I've attached a snippet of what I'm doing at the moment:
The
ThermalDiffusionIntegratorinherits fromDiffusionIntegratorand has an override of theAssembleElementGradmethod. Am I right in assuming what I need to add isconduct->AddInteriorFaceIntegratorline? Are there examples of the minimum requirement for implementation?All reactions