-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Perpendicular flap (IGA solid participant G+Smo) #603
base: develop
Are you sure you want to change the base?
Perpendicular flap (IGA solid participant G+Smo) #603
Conversation
…stress; Modified precice-config.xml to communicate with stress
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.
Thanks for these great contributions!
I did not yet try it out, but wanted to give some initial tips already.
Guidelines worth checking out:
- tutorials contribution guidelines
- style guide of the preCICE docs.
perpendicular-flap-stress/README.md
Outdated
### Runnning the G+Smo Tutorial | ||
Open two terminals and run: | ||
``` | ||
cd solid-gismo-elasticity |
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.
cd solid-gismo-elasticity | |
cd solid-gismo |
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.
Hi @uekerman,
We have another variant of this benchmark uses Kirichhoff-Love shell elememt and will be called solid-gismo-shell
. While the KL shell variant has been verified for both accuracy and convergence, the implementation is currently hard-coded and needs to be generalized to support other examples.
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.
Could we eventually keep both in the same folder and pick them within the run.sh script?
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.
I renamed the folder. We can easily call different version from the same run script. Should we?
Co-authored-by: Benjamin Uekermann <[email protected]>
I am trying to install and run the case. I am doing:
and get
And normal I am a bit puzzled. How do I build the I guess what we need to do is to install the lib / make is discoverable and then add a |
Hi Benjamin, Thanks for testing this! The thing is, if you try to compile the file from the G+Smo side, we are using a different name for the filename since G+Smo and preCICE have different naming rules. On the G+Smo side, the solid participant filename is Since we have multiple CPP files on our side, we cannot use a simple name like |
With a few minor changes, I was able to run the case. Most importantly, I changed the data mapping constraint for the stresses to "consistent". I now get: The missing difference is probably due to the elements or refinement?
The file I will continue cleaning up the case the next days. Please don't force push. |
```bash | ||
cd solid-gismo | ||
./run.sh | ||
``` |
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.
We could explain here how different variants could be run.
|
||
On the OpenFOAM side, you can open the `.foam` file with ParaView, or create VTK files with `foamToVTK`. | ||
|
||
TODO: how can we visualize G+Smo results? |
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.
TODO
|
||
![Flap watchpoint](images/tutorials-perpendicular-flap-stress-displacement-watchpoint.png) | ||
|
||
TODO: add picture |
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.
Let's add a picture once we are happy with the results.
for ext in pvd vts vtp log txt; do | ||
for file in **/*."$ext"; do | ||
# Check if the file exists | ||
[ -f "$file" ] && rm -f "$file" | ||
done | ||
done | ||
rm -fv pointData.csv | ||
rm -rfv ./output/ |
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.
This looks still a bit arbitrary to me. Currently, the output folder is empty. Shouldn't the csv go there?
Perpendicular Flap with G+Smo (IsoGeometric Analysis) and OpenFOAM
NOTE:
Stress
instead ofForce
.This PR is still a draft, because the G+Smo adapter's documentation is still ongoing.
I have added a README.md file to guide users on running the tutorial with G+Smo. It includes detailed instructions for setup and execution.