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

Actual Dolphin geometry, deformation, and motion Generation of a dolphin geometry from real data from Tanaka et al [22]. More...

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

Macros

#define __FUNCT__   "body_geometry_dolphin2"
 
#define __FUNCT__   "body_deformation_dolphin2"
 

Functions

PetscErrorCode body_geometry_dolphin2 (Grid grid, Obs *obs)
 
PetscErrorCode body_deformation_dolphin2 (Simu simu, Grid grid, Obs *obs)
 

Detailed Description

Actual Dolphin geometry, deformation, and motion Generation of a dolphin geometry from real data from Tanaka et al [22].

Note the original stl has been modifier to get a 2D regular surfacic mesh

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_dolphin2()

PetscErrorCode body_deformation_dolphin2 ( 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)

!!!

obs->geom.length[1];

!!

◆ body_geometry_dolphin2()

PetscErrorCode body_geometry_dolphin2 ( Grid  grid,
Obs obs 
)

Load the 2D regular surfacic mesh to definie the dolphin geometry