Reply To: Modifying field values for neighboring cells inside a postprocessor
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Modifying field values for neighboring cells inside a postprocessor › Reply To: Modifying field values for neighboring cells inside a postprocessor
January 23, 2025 at 5:26 pm
#9793
Danial.Khazaeipoul
Participant
Hello Adrian,
When defining a global data structure in OpenLB, is it possible to use a custom type such as one given below with the TYPED_FIELD_BASE
:
struct BubbleInfo {
CellID bubbleID = CellID(0);
double volume = 0.0;
};
struct BUBBLE_FIELD : public descriptors::TYPED_FIELD_BASE<BubbleInfo,1> {};