-
-
Notifications
You must be signed in to change notification settings - Fork 114
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.
Co-authored-by: Benjamin Uekermann <benjamin.uekermann@gmail.com>
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. |
|
||
As we defined a watchpoint on the 'Solid' participant at the flap tip (see `precice-config.xml`), we can plot it with gnuplot using the script `plot-displacement.sh.` You need to specify the directory of the selected solid participant as a command line argument, so that the script can pick-up the desired watchpoint file, e.g. `plot-displacement.sh solid-gismo`. The resulting graph shows the x displacement of the flap tip. You can modify the script to plot the force instead. | ||
|
||
![Flap watchpoint](images/tutorials-perpendicular-flap-stress-displacement-watchpoint.png) |
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 think, we don't need to show all other variants here. One non-linear one (e.g. deal.II) could be enough.
And we need a brief sentence that we have not yet found the reason for the difference.
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 |
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.
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 |
@Crazy-Rich-Meghan Only removing the output folder should be enough, right? I assume this name is currently hard-coded into the solver, right? (no problem, I just want to understand)
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.