Closed bragostin closed 3 years ago
I managed to make run with the following changes:
in
oasis/solvers/NSfracStep/LES/Wale.py
replace
from dolfin import (Function, FunctionSpace, assemble, TestFunction, sym, grad, tr,
Identity, dx, Max, inner, MeshFunction, DirichletBC, Constant)
with
from dolfin import (Function, FunctionSpace, assemble, TestFunction, sym, grad, tr,
Identity, dx, inner, MeshFunction, DirichletBC, Constant)
from ufl import Max
in
fenicstools/StructuredGrid.py
l. 252
replace f = h5py.File(filename, 'w', driver='mpio', comm=comm)
with f = h5py.File(filename, 'w')
in solvers/NFracStep/LES/common.py
replace user_sub_domain()
with user_subdomain()
in common/utilities.py
replace instances variable.array()
with np.array(variable)
First thank you for creating Oasis, this is such a powerful addition to Fenics! I was reading two of your articles:
It is written that the LES turbulence models can run with the
problems/channel.py
example. It converges but it looks like it is set for laminar flow. Then I setles_model = "Wale" in NS_parameters.update
ofchannel.py
but then I get the following error:Can this example actually run with the LES Wale model?