NasCar
Loading...
Searching...
No Matches
Macros | Functions
Body_Fish.c File Reference

Fish geometry, deformation, and motion Generation of a (hancrafted) fish geometry. More...

#include "petscksp.h"
#include "petscpc.h"
#include "struct.h"
#include "Body_Fish.h"
#include "LevelSet.h"
Include dependency graph for Body_Fish.c:

Macros

#define __FUNCT__   "body_geometry_fish"
 
#define __FUNCT__   "body_deformation_fish"
 

Functions

PetscErrorCode body_geometry_fish (Grid grid, Obs *obs)
 
PetscErrorCode body_deformation_fish (Simu simu, Grid grid, Obs *obs)
 

Detailed Description

Fish geometry, deformation, and motion Generation of a (hancrafted) fish geometry.

Impose the deformation and the rigid motion (from Newton's Laws)

Body generated
Version
0.0
Author
Michel Bergmann
Date
2023-03-03

Function Documentation

◆ body_deformation_fish()

PetscErrorCode body_deformation_fish ( Simu  simu,
Grid  grid,
Obs obs 
)

Impose a sinusoidal swimming law in the reference frame

Impose the rigid motion in the computational frame (real body position in the computational domain)

◆ body_geometry_fish()

PetscErrorCode body_geometry_fish ( Grid  grid,
Obs obs 
)

Creation of a regular 2D surface mesh of the 3D volumic handcrafted fish