Skip to content
Snippets Groups Projects

Add experimental moving domains

Merged Santiago Ospina De Los Ríos requested to merge feature/moving-grids into master

Implement facilitates to move the domain depending on primary variables. All primary variables are then conserved with respect to the moved domain instead of the coordinates of the grid. This is achieved by a new input parameter on the model section:

[model.domain.deformation]
# use primary variables to express how domains move (e.g. dx and dy)
x.expression = dx
y.expression = dy

[model.scalar_field.dx]
# primary variable named dx, solved implicitly and monolithically with the rest of variables

[model.scalar_field.dy]
# primary variable named dy, solved implicitly and monolithically with the rest of variables

The resulting vtk file is not "moved" with respect to the domain. Instead, the user is expected to interpret the deformation by his own (e.g. using "Warp by Vector" on preview).

Edited by Santiago Ospina De Los Ríos

Merge request reports

Merge request pipeline #74987 canceled

Merge request pipeline canceled for fe5b9274

Merged by Santiago Ospina De Los RíosSantiago Ospina De Los Ríos 4 months ago (Nov 11, 2024 5:20pm UTC)

Loading

Pipeline #74988 passed

Pipeline passed for fe5b9274 on master

Deployed to documentat‎ion/master‎ 4 months ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading