-
-
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.
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. | ||
|
||
 |
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.
@Crazy-Rich-Meghan The results look good now 👍 What did you change? |
Hi @uekerman , for the nonlinear version we iterate with Jacobian matrix, and the linear version with stiffness matrix. In principle, if the problem we are solving is a linear problem, the nonlinear time integrator should converge within the first timestep and result should be the same as time-integrator with stiffness matrix, that's why you see they are overlapping. And we checked the source code from dealii, in linear_elasticity there is no geometric nonlinearlity so we changed a bit from our side. |
Co-authored-by: Benjamin Uekermann <benjamin.uekermann@gmail.com>
fce67e9
to
a69bc8e
Compare
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.