Skip to content

Reply To: Modifying field values for neighboring cells inside a postprocessor

Due to recent bot attacks we have chanced the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

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

#9793
Anonymous
Inactive

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> {};