Reply To: simulateWithTwoWayCoupling
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.
› Forums › 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
