Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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