On 6/8/24 04:14, Léonhard YU wrote:
 I am working on impose constant pressure load on a plate's upper surface. The code is derived from step-18 and attached below. But I found that the diplacement is not right, and it varies when the number of face elements changes. I am thinking about something wrong with the loading but I do not have any idea. Thanks a lot if you can help me.

Leonhart:
the code looks not unreasonable to me (though I don't know what get_strain() does). But as a general rule, when you're trying to debug programs, it's very useful to be specific about what "the diplacement is not right, and it varies when the number of face elements changes" actually means. That's true when describing the issue to others, but also to yourself. So:
* How exactly is it wrong?
* What is it you are expecting?
* What is it you are seeing?
* What is the difference?
* Do you know things that the solution should satisfy, such as that it needs to be left-right symmetric because of the chosen forcing terms and geometry?
* Does the computed solution satisfy these condition?

These are all questions that will lead you to the place where your program is doing something wrong.

Best
 W.

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/4709b0a8-d28f-4914-a6c8-63ef0d1184cd%40colostate.edu.

Reply via email to