-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add Cubit example to the immersed_fem demo #2116
base: master
Are you sure you want to change the base?
Conversation
Hi Greg, thanks for this demo! We used to install ExodusII by default, but we found it caused a bunch of headaches in the installer, so dropped it by default in #1747. Passing extra flags to the PETSc build is actually possible, you run
If you have a working firedrake, then do Thanks! |
Hi @wence-
Weird that it's causing headaches, that's certainly an issue!
It wasn't very discoverable to me, I looked around for several hours trying to figure it out. My confusion came from the webpage saying that firedrake supported Exodus, so I (initially) expected this to be at the
But there's a difference between "honoured" and "supported". So just thinking out-loud here, what would you think would be the best approach?
|
Hmm. What about if we adopt |
99b328a
to
10ea6a6
Compare
@dham / @wence- -- I'm just coming around back to this, grad school got a bit busy. I've made a few modifications based on conversations above, namely I believe it's building documentation (placed link right under the demo for Gmsh). I've also setup Exodus only to build if the user doesn't use PETSc minimal and specifies |
Thanks @GregVernon. This is very nearly there. Please add something to the top of the demo documentation that says that it's necessary to pass We also need Cheers, David |
5f4a704
to
55ef221
Compare
Ok, I've added this to a couple spots.
Done! I'm not sure how to test this, as I can't seem to run the CI testers on my fork. |
@dham -- any chance we can merge this today? |
Added to today's agenda |
Do the binary |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reasons this is failing tests are:
- Whitespace issues in
firedrake-install
. Please runmake lint
infiredrake/src/firedrake
and do what it says. - build.yml has a misspelt option.
d027d1d
to
035ab82
Compare
@JDBetteridge said:
I did add the |
035ab82
to
baeeeca
Compare
@dham / @JDBetteridge -- any chance that you can approve me to run workflows? I certainly don't want merge privileges, but being able to run workflows immediately rather than waiting a week or more would be very helpful for me being able to finish this. |
petsc option allow exodus to install even if minimal petsc
cp cubit journal files in demos make
fix ci build command flag
exodus install flag not supported in firedrake-update
I noticed that Firedrake's manual mentioned it supports Exodus files, but when I tried changing the
immersed_fem.py
demo tomesh = Mesh('immersed_domain.e')
I got errors saying I needed to build with Exodus support using the
--download-exodusii
argument. But thefiredrake-install
script doesn't accept this argument -- so I've added that optional argument to the install script.I then proceeded with creating a Cubit-based workflow to build the mesh for this problem, for both tri and quad elements. I've not been able to verify the documentation in
immersed_fem.py
renders correctly, could use some advice for how to test...--
Greg Vernon
Director of Product Management, Coreform LLC