Skip to content

Reply To: Extract force values from Lattice(Poiseuille 2D example)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Extract force values from Lattice(Poiseuille 2D example) Reply To: Extract force values from Lattice(Poiseuille 2D example)

#5851
Adrian
Keymaster

You can get the external force vector for a given spatial cell location e.g. via


Cell<T,DESCRIPTOR> cell = superLattice.getBlockLattice(iC).get(iX,iY,iZ);
Vector<T,3> force = cell.template getField<descriptors::FORCE>();
  • This reply was modified 2 years, 8 months ago by Adrian.