Skip to content

Commit

Permalink
2 adims
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinAchondo committed Jul 8, 2024
1 parent 71745ac commit 737add2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xppbe/Model/PDE_Model.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def calculate_properties(self,domain_properties):

domain_properties['concentration'] = (kappa/self.ang_to_m)**2*(self.eps0*epsilon_2*self.kb*T)/(2*self.qe**2*self.Na)/1000

qe_eps0_ang = qe/(eps0 * ang_to_m)
fact = kb/(qe_eps0_ang*qe)
qe_eps0_ang = self.qe/(self.eps0 * self.ang_to_m)
fact = self.kb/(qe_eps0_ang*self.qe)
if self.adim == 'qe_eps0_angs':
self.to_V = self.qe/(self.eps0 * self.ang_to_m)
domain_properties['beta'] = 1
Expand Down

0 comments on commit 737add2

Please sign in to comment.