eulerian_field_settings command

Purpose

Command for defining binsize and interpolation settings for eulerian_scalar_field and eulerian_vector_field commands.

Warning

GPU support for this command has not been tested and may not work as expected.

Syntax

eulerian_field_settings keyword value

With the following keyword argument pairs:

Keywords

Description

binsize

scalar or vector size of bins for structured grid used
mandatory

max_bins

number of maximum bins in the grid that is used to interpolate the field values onto
default: 8,000,000

field_optimize_memory

switch to deactivate partitioning of the field data to processes, field_optimize_memory no may consume significantly more memory
default: yes

check_mesh

bool (yes or no) determining if mesh size of specified field should be checked against particle diameter
default: no

interpolate_field_to_grid

bool (yes or no) determining if file is treated as exact representation of the internal mesh or values are interpolated
default: yes

interpolate_grid_to_particles

bool (yes or no) determining if field values are interpolated linearly to the particle position or if the bin values are used
default: no

Examples

eulerian_field_settings binsize 0.1 interpolate_field_to_grid yes
eulerian_field_settings binsize (0.1, 0.2, 0.05) interpolate_field_to_grid yes max_bins 2000000

Description

Set binsize and interpolation settings for several eulerian_scalar_field and eulerian_vector_field commands.