9.0
general documentation
Loading...
Searching...
No Matches
cs_gui_mobile_mesh.cpp File Reference
#include "base/cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <assert.h>
#include "bft/bft_mem.h"
#include "bft/bft_error.h"
#include "bft/bft_printf.h"
#include "base/cs_ale.h"
#include "base/cs_ast_coupling.h"
#include "base/cs_base.h"
#include "base/cs_boundary.h"
#include "base/cs_boundary_zone.h"
#include "base/cs_field_default.h"
#include "base/cs_field_pointer.h"
#include "gui/cs_gui.h"
#include "gui/cs_gui_util.h"
#include "gui/cs_gui_boundary_conditions.h"
#include "meg/cs_meg_prototypes.h"
#include "mesh/cs_mesh.h"
#include "base/cs_mobile_structures.h"
#include "base/cs_parameters.h"
#include "base/cs_timer.h"
#include "base/cs_time_step.h"
#include "base/cs_volume_zone.h"
#include "gui/cs_gui_mobile_mesh.h"
Include dependency graph for cs_gui_mobile_mesh.cpp:

Functions

void cs_gui_ale_params (void)
void cs_gui_get_ale_viscosity_type (int *type)
void cs_gui_ale_diffusion_type (void)
void cs_gui_mesh_viscosity (void)
void cs_gui_mobile_mesh_get_boundaries (cs_domain_t *domain)
 Translate the user settings for the domain boundaries into a structure storing the ALE boundaries (New mechanism used in CDO)
void cs_gui_mobile_mesh_boundary_conditions (int *const ialtyb, int *const impale, cs_real_3_t *disale)
 Set mobile mesh boundary conditions based on setup.
cs_real_tcs_gui_mobile_mesh_get_fixed_velocity (const char *label)
 Return the fixed velocity for a boundary.
void cs_gui_mobile_mesh_structures_add (void)
 Add mobile structures based on GUI BC definitions.
void cs_gui_mobile_mesh_init_structures (bool is_restart, double *aexxst, double *bexxst, double *cfopre, int *ihistr, double *xstr0, double *xstreq, double *vstr0)
void cs_gui_mobile_mesh_internal_structures (cs_real_t xmstru[][3][3], cs_real_t xcstru[][3][3], cs_real_t xkstru[][3][3], cs_real_t forstr[][3])
void cs_gui_mobile_mesh_bc_structures (int *idfstr)

Function Documentation

◆ cs_gui_ale_diffusion_type()

void cs_gui_ale_diffusion_type ( void )

◆ cs_gui_ale_params()

void cs_gui_ale_params ( void )

◆ cs_gui_get_ale_viscosity_type()

void cs_gui_get_ale_viscosity_type ( int * type)

◆ cs_gui_mesh_viscosity()

void cs_gui_mesh_viscosity ( void )

◆ cs_gui_mobile_mesh_bc_structures()

void cs_gui_mobile_mesh_bc_structures ( int * idfstr)

◆ cs_gui_mobile_mesh_boundary_conditions()

void cs_gui_mobile_mesh_boundary_conditions ( int *const ialtyb,
int *const impale,
cs_real_3_t * disale )

Set mobile mesh boundary conditions based on setup.

Parameters
[in]ialtybALE BC type, per boundary face
[in]impalefixed displacement indicator
[out]disalefixed displacement, where indicated

◆ cs_gui_mobile_mesh_get_boundaries()

void cs_gui_mobile_mesh_get_boundaries ( cs_domain_t * domain)

Translate the user settings for the domain boundaries into a structure storing the ALE boundaries (New mechanism used in CDO)

Parameters
[in,out]domainpointer to a cs_domain_t structure

◆ cs_gui_mobile_mesh_get_fixed_velocity()

cs_real_t * cs_gui_mobile_mesh_get_fixed_velocity ( const char * label)

Return the fixed velocity for a boundary.

Parameters
[in]labelboundary condition label
Returns
a pointer to an array of cs_real_t values

◆ cs_gui_mobile_mesh_init_structures()

void cs_gui_mobile_mesh_init_structures ( bool is_restart,
double * aexxst,
double * bexxst,
double * cfopre,
int * ihistr,
double * xstr0,
double * xstreq,
double * vstr0 )

◆ cs_gui_mobile_mesh_internal_structures()

void cs_gui_mobile_mesh_internal_structures ( cs_real_t xmstru[][3][3],
cs_real_t xcstru[][3][3],
cs_real_t xkstru[][3][3],
cs_real_t forstr[][3] )

◆ cs_gui_mobile_mesh_structures_add()

void cs_gui_mobile_mesh_structures_add ( void )

Add mobile structures based on GUI BC definitions.