diff --git a/echemfem/solver.py b/echemfem/solver.py index b879928..452534b 100644 --- a/echemfem/solver.py +++ b/echemfem/solver.py @@ -368,7 +368,7 @@ def _internal_dS(subdomain_id=None, domain=None): us[self.num_liquid:self.num_liquid + self.num_gas], self.pg, gas_params) # setup applied voltage - if physical_params.get("U_app"): + if physical_params.get("U_app") is not None: U_app = physical_params["U_app"] if isinstance(U_app, (Constant, Function)): self.U_app = U_app