Regarding boundary condition

42 views
Skip to first unread message

Deepika Kushwah

unread,
Sep 29, 2022, 6:33:05 AM9/29/22
to dea...@googlegroups.com
Hello Everyone,

I am trying to solve the 1-D bar problem by taking step-3 as a reference. I am not able to understand how to impose a dirichlet boundary condition (u=0 at one end and u=0.001 at the last node? 
How to proceed?


Thanks & Regards,
Deepika

**************************************************************************
This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
************************************************************************************************

Deepika Kushwah

unread,
Sep 29, 2022, 6:42:34 AM9/29/22
to dea...@googlegroups.com

Wolfgang Bangerth

unread,
Sep 29, 2022, 12:08:48 PM9/29/22
to dea...@googlegroups.com
On 9/29/22 04:41, Deepika Kushwah wrote:
>
> I am trying to solve the 1-D bar problem by taking step-3 as a
> reference. I am not able to understand how to impose a dirichlet
> boundary condition (u=0 at one end and u=0.001 at the last node?
> How to proceed?

Take a look here:
https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#dealii-programs-behave-differently-in-1d-than-in-23d

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Deepika Kushwah

unread,
Oct 11, 2022, 1:31:08 PM10/11/22
to dea...@googlegroups.com
Thank you Dr. Wolfgang Bangerth,

I have successfully applied boundary conditions at the extreme node of 1-D bar but not able to impose it on intermediate points.
I have following doubts-
1. How to check boundary ids and assign boundary values corresponding to any intermediate node?
2. In the solution file (vtk), 4 points can be seen instead of 3 for 2 elements. Why is it so?
3. How to alter the output parameters/variables given in the solution file?



Thanks & Regards
Deepika

--
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 dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/47f49164-0507-8e0b-6c70-c487816301bb%40colostate.edu.
1_d bar solution.png
Reply all
Reply to author
Forward
0 new messages