You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
I tried to run the poiseuille example in simphony-openfoam/foam_controlwrapper/examples and found that the CUBA.ANGULAR_VELOCITY in the cells are scalars. However the expected shape of the angular velocity data should be (3), according to simphony.core.keywords.KEYWORDS["ANGULAR_VELOCITY"].shape.
Use case: Because of this, mayavi wasn't able to visualise the mesh data until I manually made the angular velocity = (value, 0, 0). Here is the visualisation result after working around the issue. However, I believe the shape of the data should comply with the KEYWORDS specification rather than relying on work-around.
I am using a development branch of simphony-mayavi.
The text was updated successfully, but these errors were encountered:
This comes from the fact the cuba.yml in simphony-common is not containing all the variables (CUBA keywords) needed. To get things working some other CUBA variable is chosen. We could try to choose CUBA variables with the same dimension though, which can be a temporary solution until cuba.yml is complete.
Actually this temporary fix is already done on current WIP version (branch migration_OF24). Note that this needs OpenFoam 2.3 (on ubuntu 12.04LTS) or OpenFoam 2.4 (on ubuntu 14.04)
Please go ahead and add new cuba in the yaml file, ask for review and make a pull request as usual in other packages. In this way the cuba can grow as needed.
I tried to run the poiseuille example in simphony-openfoam/foam_controlwrapper/examples and found that the CUBA.ANGULAR_VELOCITY in the cells are scalars. However the expected shape of the angular velocity data should be (3), according to
simphony.core.keywords.KEYWORDS["ANGULAR_VELOCITY"].shape
.Use case: Because of this, mayavi wasn't able to visualise the mesh data until I manually made the angular velocity = (value, 0, 0). Here is the visualisation result after working around the issue. However, I believe the shape of the data should comply with the KEYWORDS specification rather than relying on work-around.
I am using a development branch of
simphony-mayavi
.The text was updated successfully, but these errors were encountered: