Skip to content
Snippets Groups Projects
Commit 29f968c8 authored by Markus Holzer's avatar Markus Holzer
Browse files

Finished implementation

parent 97b8c8c5
No related branches found
No related tags found
1 merge request!117Integrate AllenCahn fully in lbmpy
...@@ -347,7 +347,7 @@ def add_hydrodynamic_force(update_rule: LbmCollisionRule, force, phi_field, ...@@ -347,7 +347,7 @@ def add_hydrodynamic_force(update_rule: LbmCollisionRule, force, phi_field,
cqc = method.conserved_quantity_computation cqc = method.conserved_quantity_computation
rho = cqc.zeroth_order_moment_symbol rho = cqc.zeroth_order_moment_symbol
force_subs = {f: f/density for f in symbolic_force} force_subs = {f: f / density for f in symbolic_force}
update_rule = update_rule.subs(force_subs) update_rule = update_rule.subs(force_subs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment