Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IB method] Implemented new ghost point method #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion swirl_lm/boundary_condition/immersed_boundary_method.proto
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,19 @@ message FeedbackForce1DInterp {
optional float damping_coeff = 3 [default = 1.0];
}

message GhostPointMethod {
// Variables for which the ghost point method is applied.
repeated IBVariableInfo variables = 1;
// The surface function of the immersed boundary. Only analytical functions
// are currently supported. Should be one of `sine`, `ramp`,
// `witch_of_agnesi`, or `witch_of_agnesi_2d`.
// optional string profile = 2;
// The value of the damping coefficient.
optional float damping_coeff = 2 [default = 10.0];
}

// Parameters required by the immersed boundary method.
// Next id: 7
// Next id: 8
message ImmersedBoundaryMethod {
oneof type {
CartesianGridMethod cartesian_grid = 1;
Expand All @@ -134,5 +145,6 @@ message ImmersedBoundaryMethod {
DirectForcingMethod direct_forcing = 4;
DirectForcing1DInterp direct_forcing_1d_interp = 6;
FeedbackForce1DInterp feedback_force_1d_interp = 5;
GhostPointMethod ghost_point_method = 7;
}
}
Loading