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 am working on implementing strong form coupling for linear transient fluid-structure interaction problems. For that, I need to modify the linear system before solving the matrix for each time step. I want to implement this with as few changes in the Gridap library as possible. We need previous time step data and some ODE-specific data for these modifications.
The solution we arrived at was creating a CustomSolver wrapper (solve, solve!, symbolicsetup, numericalsetup) and performing all the matrix modifications in the custom numericalsetup function. The problem arises when transferring previous time-step data from the ode solver to the numerical setup function while solving a linear problem.
Solution -
The solution we arrived at was modifying the LinearStageOperator struct to include ws and usx. The struct definition for the NonlinearStageOperator contains usx and ws.
Can this change be introduced in Gridap? This will make it possible to perform strong coupling for linear transient multiphysics problems. If this solution is not feasible, I would be happy to discuss alternatives.
Thanks,
Shreyas
The text was updated successfully, but these errors were encountered:
Hi all,
I am working on implementing strong form coupling for linear transient fluid-structure interaction problems. For that, I need to modify the linear system before solving the matrix for each time step. I want to implement this with as few changes in the Gridap library as possible. We need previous time step data and some ODE-specific data for these modifications.
The solution we arrived at was creating a
CustomSolver
wrapper (solve
,solve!
,symbolicsetup
,numericalsetup
) and performing all the matrix modifications in the customnumericalsetup
function. The problem arises when transferring previous time-step data from the ode solver to the numerical setup function while solving a linear problem.Solution -
The solution we arrived at was modifying the
LinearStageOperator
struct to includews
andusx
. The struct definition for theNonlinearStageOperator
containsusx
andws
.I will link the code snippets below -
Linear Stage Operator -
Gridap.jl/src/ODEs/StageOperators.jl
Lines 88 to 92 in ea403aa
Non-Linear Stage Operator -
Gridap.jl/src/ODEs/StageOperators.jl
Lines 29 to 35 in ea403aa
Can this change be introduced in Gridap? This will make it possible to perform strong coupling for linear transient multiphysics problems. If this solution is not feasible, I would be happy to discuss alternatives.
Thanks,
Shreyas
The text was updated successfully, but these errors were encountered: