KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
WaveHeightOutputProcess. More...
Public Member Functions | |
def | GetDefaultParameters (self) |
def | __init__ (self, model, settings) |
The constructor of the WaveHeightOutputProcess. More... | |
def | Check (self) |
Check all the variables have the right size. More... | |
def | ExecuteBeforeSolutionLoop (self) |
Initialize the files and the utility to calculate the water height. More... | |
def | IsOutputStep (self) |
The output control is time based. More... | |
def | PrintOutput (self) |
Print the wave height corresponding to each gauge and schedule the next output. More... | |
def | ExecuteFinalize (self) |
Close all the files. More... | |
Public Attributes | |
settings | |
model_part | |
coordinates_list | |
next_output | |
wave_height_utility | |
files | |
This process records the wave height at several points. The direction used to calculate the water weight is defined as the opposite of the gravity direction. If no node is found, Nan will be printed. Possible specifications of the Parameters: - coordinates: it can be a single coordinate or a list of coordinates for each gauge. - output_file_settings: a parameters encapsulating the 'file_name', 'output_path' and other settings according to 'TimeBasedAsciiFileWritterUtility'. Some replacements can be specified to 'file_name', e.g.: - 'file_name' : 'gauge_<x>' or - 'file_name' : 'gauge_<Y>' or - 'file_name' : 'gauge_<i>' - wave_calculation_settings: parameters according to 'CalculateWaveHeightUtility' - 'mean_water_level' - 'relative_search_radius' - 'search_tolerance' - 'use_local_element_size' - 'use_nearest_node'
def wave_height_output_process.WaveHeightOutputProcess.__init__ | ( | self, | |
model, | |||
settings | |||
) |
The constructor of the WaveHeightOutputProcess.
def wave_height_output_process.WaveHeightOutputProcess.Check | ( | self | ) |
Check all the variables have the right size.
def wave_height_output_process.WaveHeightOutputProcess.ExecuteBeforeSolutionLoop | ( | self | ) |
Initialize the files and the utility to calculate the water height.
def wave_height_output_process.WaveHeightOutputProcess.ExecuteFinalize | ( | self | ) |
Close all the files.
def wave_height_output_process.WaveHeightOutputProcess.GetDefaultParameters | ( | self | ) |
def wave_height_output_process.WaveHeightOutputProcess.IsOutputStep | ( | self | ) |
The output control is time based.
def wave_height_output_process.WaveHeightOutputProcess.PrintOutput | ( | self | ) |
Print the wave height corresponding to each gauge and schedule the next output.
wave_height_output_process.WaveHeightOutputProcess.coordinates_list |
wave_height_output_process.WaveHeightOutputProcess.files |
wave_height_output_process.WaveHeightOutputProcess.model_part |
wave_height_output_process.WaveHeightOutputProcess.next_output |
wave_height_output_process.WaveHeightOutputProcess.settings |
wave_height_output_process.WaveHeightOutputProcess.wave_height_utility |