|
PICurv 0.1.0
A Parallel Particle-In-Cell Solver for Curvilinear LES
|
#include "postprocessing_kernels.h"#include "statistics_accumulator.h"#include "statistics_window.h"#include "particle_field_catalog.h"Go to the source code of this file.
Macros | |
| #define | __FUNCT__ "DimensionalizeField" |
| #define | __FUNCT__ "DimensionalizeAllLoadedFields" |
| #define | __FUNCT__ "ExtendToLayoutBoundary" |
| #define | __FUNCT__ "ComputeNodalAverage" |
| #define | __FUNCT__ "ComputeWindowStatisticNodal" |
| #define | __FUNCT__ "ComputeWindowStatisticsSummary" |
| #define | __FUNCT__ "ComputeQCriterion" |
| #define | __FUNCT__ "NormalizeRelativeField" |
| #define | __FUNCT__ "ComputeSpecificKE" |
| #define | __FUNCT__ "ComputeDisplacement" |
Functions | |
| PetscErrorCode | DimensionalizeField (UserCtx *user, const char *field_name) |
| Implementation of DimensionalizeField(). | |
| PetscErrorCode | DimensionalizeAllLoadedFields (UserCtx *user) |
Internal helper implementation: DimensionalizeAllLoadedFields(). | |
| PetscErrorCode | ExtendToLayoutBoundary (UserCtx *user, Vec global, PetscInt components) |
| Implementation of ExtendToLayoutBoundary(). | |
| PetscErrorCode | ComputeNodalAverage (UserCtx *user, const char *in_field_name, const char *out_field_name) |
| Implementation of ComputeNodalAverage(). | |
| PetscErrorCode | ComputeWindowStatisticNodal (UserCtx *user, PetscInt window_index, const char *outputs, PetscInt output_index, char *out_name, size_t name_size, Vec *out_vec, PetscInt *out_components) |
| Implementation of ComputeWindowStatisticNodal(). | |
| PetscErrorCode | ComputeWindowStatisticsSummary (UserCtx *user, PetscInt window_index, const char *output_prefix, PetscInt ti) |
| Implementation of ComputeWindowStatisticsSummary(). | |
| PetscErrorCode | ComputeQCriterion (UserCtx *user) |
| Implementation of ComputeQCriterion(). | |
| PetscErrorCode | NormalizeRelativeField (UserCtx *user, const char *relative_field_name) |
| Implementation of NormalizeRelativeField(). | |
| PetscErrorCode | ComputeSpecificKE (UserCtx *user, const char *velocity_field, const char *ske_field) |
Internal helper implementation: ComputeSpecificKE(). | |
| PetscErrorCode | ComputeDisplacement (UserCtx *user, const char *disp_field) |
Internal helper implementation: ComputeDisplacement(). | |
| #define __FUNCT__ "DimensionalizeField" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "DimensionalizeAllLoadedFields" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ExtendToLayoutBoundary" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeNodalAverage" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeWindowStatisticNodal" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeWindowStatisticsSummary" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeQCriterion" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "NormalizeRelativeField" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeSpecificKE" |
Definition at line 8 of file postprocessing_kernels.c.
| #define __FUNCT__ "ComputeDisplacement" |
Definition at line 8 of file postprocessing_kernels.c.
| PetscErrorCode DimensionalizeField | ( | UserCtx * | user, |
| const char * | field_name | ||
| ) |
Implementation of DimensionalizeField().
Scales a specified field from non-dimensional to dimensional units in-place.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 15 of file postprocessing_kernels.c.
| PetscErrorCode DimensionalizeAllLoadedFields | ( | UserCtx * | user | ) |
Internal helper implementation: DimensionalizeAllLoadedFields().
Orchestrates the dimensionalization of all relevant fields loaded from a file.
Local to this translation unit.
Definition at line 102 of file postprocessing_kernels.c.
| PetscErrorCode ExtendToLayoutBoundary | ( | UserCtx * | user, |
| Vec | global, | ||
| PetscInt | components | ||
| ) |
Implementation of ExtendToLayoutBoundary().
Populates the layout boundary of a field that was written on the interior only.
Full API contract is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 142 of file postprocessing_kernels.c.
| PetscErrorCode ComputeNodalAverage | ( | UserCtx * | user, |
| const char * | in_field_name, | ||
| const char * | out_field_name | ||
| ) |
Implementation of ComputeNodalAverage().
Interpolates a cell-centered field to nodal locations using local stencil averaging.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 236 of file postprocessing_kernels.c.
| PetscErrorCode ComputeWindowStatisticNodal | ( | UserCtx * | user, |
| PetscInt | window_index, | ||
| const char * | outputs, | ||
| PetscInt | output_index, | ||
| char * | out_name, | ||
| size_t | name_size, | ||
| Vec * | out_vec, | ||
| PetscInt * | out_components | ||
| ) |
Implementation of ComputeWindowStatisticNodal().
Derives one accumulated statistic and converts it to nodal values.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 343 of file postprocessing_kernels.c.
| PetscErrorCode ComputeWindowStatisticsSummary | ( | UserCtx * | user, |
| PetscInt | window_index, | ||
| const char * | output_prefix, | ||
| PetscInt | ti | ||
| ) |
Implementation of ComputeWindowStatisticsSummary().
Appends one convergence row for an accumulated window to its CSV history.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 400 of file postprocessing_kernels.c.
| PetscErrorCode ComputeQCriterion | ( | UserCtx * | user | ) |
Implementation of ComputeQCriterion().
Computes the Q-criterion diagnostic from the local velocity-gradient tensor.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 481 of file postprocessing_kernels.c.
| PetscErrorCode NormalizeRelativeField | ( | UserCtx * | user, |
| const char * | relative_field_name | ||
| ) |
Implementation of NormalizeRelativeField().
Normalizes pressure using the value at the configured logical grid point.
Full API contract (arguments, ownership, side effects) is documented with the header declaration in include/postprocessing_kernels.h.
Definition at line 616 of file postprocessing_kernels.c.
| PetscErrorCode ComputeSpecificKE | ( | UserCtx * | user, |
| const char * | velocity_field, | ||
| const char * | ske_field | ||
| ) |
Internal helper implementation: ComputeSpecificKE().
Computes the specific kinetic energy (KE per unit mass) for each particle.
Local to this translation unit.
Definition at line 689 of file postprocessing_kernels.c.
| PetscErrorCode ComputeDisplacement | ( | UserCtx * | user, |
| const char * | disp_field | ||
| ) |
Internal helper implementation: ComputeDisplacement().
Computes the displacement magnitude |r_i - r_0| for each particle (per-particle VTK kernel).
Local to this translation unit.
Definition at line 731 of file postprocessing_kernels.c.