Reply To: simulateWithTwoWayCoupling
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › simulateWithTwoWayCoupling › Reply To: simulateWithTwoWayCoupling
December 6, 2023 at 3:57 pm
#7990
jan
Participant
Dear Rookie,
what does the error say exactly?
I assume that the UnitConverter
is declared constant in your app. However, the drag model expects a reference to a non-constant UnitConverter
: SchillerNaumannDragModel(UnitConverter<T, Lattice>& converter);
. The constructor of LaddForwardCouplingModel
has the same problem. You could try to replace UnitConverter<T, Lattice>& converter
with UnitConverter<T, Lattice> const& converter
in the corresponding constructors or remove the const
keyword from the line where you create the UnitConverter
object.
Best regards,
Jan