Skip to content

Commit

Permalink
sievert
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Oct 16, 2023
1 parent fa1011b commit 7c9f710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions festim/boundary_conditions/sieverts_bc.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from dolfinx.fem import Expression, Function, Constant


def siverts_law(T, S_0, E_S, pressure):
def sieverts_law(T, S_0, E_S, pressure):
"""Applies the Sieverts law to compute the concentration at the boundary"""
S = S_0 * ufl.exp(-E_S / F.k_B / T)
return S * pressure**0.5
Expand Down Expand Up @@ -67,7 +67,7 @@ def create_value(self, mesh, function_space, temperature):

self.value_fenics = Function(function_space)
self.bc_expr = Expression(
siverts_law(
sieverts_law(
T=temperature,
S_0=self.S_0,
E_S=self.E_S,
Expand Down

0 comments on commit 7c9f710

Please sign in to comment.