Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wale model: common.py "user_sub_domain" and DirichletBC "markers()" #41

Open
JoelTomasek opened this issue Mar 19, 2021 · 0 comments
Open

Comments

@JoelTomasek
Copy link

Dear Sir,

When trying to use the 'Wale' model, I received the following error: AttributeError: 'DirichletBC' object has no attribute 'user_sub_domain'.

Having changed 'user_sub_domain' to user_subdomain (compatible with dolfin 2018), this error is resolved.

Then the following error occurs:
"/home/ubuntu/anaconda3/envs/oasis/lib/python3.7/site-packages/oasis-2018.1-py3.7.egg/oasis/solvers/NSfracStep/LES/common.py", line 21, in derived_bcs
m = bc.markers() # Get facet indices of boundary
AttributeError: 'DirichletBC' object has no attribute 'markers'

In the following link it is stated that in python version of dolfin 2018.1 the markers() attribute is indeed missing.
https://bitbucket.org/fenics-project/dolfin/issues/1042/python-interface-for-dirichletbcmarkers

Is there some other way to get facet indices of the boundary within the " derived_bcs" function in oasis.solvers.NSfracStep.LES.common, to make this function compatible with dolfin 2018.1?

With kind regards,
Joel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant