Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
fixed issues #92 and #93
Browse files Browse the repository at this point in the history
  • Loading branch information
ahashibon committed May 16, 2017
1 parent b52f7d8 commit 8dcd440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions foam_internalwrapper/foam_dicts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1493,7 +1493,7 @@ def modifyFields(mesh, cuds, solver='pimpleFoam'):
patch = None
for condition in boundary.condition:
variable = get_condition_variable(condition, solver)
if variable == CUBA.VOLUME_FRACTION:
if variable == CUBA.VOLUME_FRACTION or variable == CUBA.CONTACT_ANGLE:
patch = get_foam_boundary_condition(
condition, mesh._foamPhaseNameToMaterial, solver)
break
Expand Down Expand Up @@ -1564,7 +1564,7 @@ def get_first(generator):
def get_simphony_io_solver(foam_solver):
simphony_solvers = {'pimpleFoam': 'pimpleSimphonyFoam',
'simpleFoam': 'simpleSimphonyFoam',
'interFoam': 'interSimphonyFoam',
'interFoam': 'interFoam',
'driftFluxFoam': 'driftFluxSimphonyFoam'}
return simphony_solvers[foam_solver]

Expand Down

0 comments on commit 8dcd440

Please sign in to comment.