Skip to content
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

Add Line heat sinks within control volume while solving a 3D thermal problem #4072

Closed
rvignesh10 opened this issue Jan 18, 2024 · 3 comments
Closed

Comments

@rvignesh10
Copy link

I am trying to solve the 3D steady state heat conduction problem with Dirichlet and Neumann boundary conditions. But additionally, I also have line heat sources/sinks within the 3D solid. The heat source is thin and parameterized with a B-spline but its not included in the thermal solvers mesh. I am not sure how to set it up. Any help is appreciated. Thank you

@paul-hilscher
Copy link
Member

paul-hilscher commented Jan 19, 2024

Specifying a linear form on a line segment is to my knowledge not yet supported in mfem (e.g. in a way supported by NGSolve). However you might find this comment helpful for a workaround.

@tzanio
Copy link
Member

tzanio commented Feb 3, 2024

@termi-official, do you have any advice for @rvignesh10 ?

@termi-official
Copy link
Member

1D-3D coupling is indeed a bit tricky (in every framework). I think easiest way would be to have a 3D mesh with fine elements near the 1D source and give the 1D source a finite thickness. This way you can take all quadrature points in the 3D mesh and search for the nearest 1D element. If the 1D element is smaller than the thickness of the element, then you can compute the source contribution coming from this 1D element. This way you will obtain a sound coupling, but it is a bit costly. Maybe it also needs to be paired with AMR if you need higher precision.

Alternatively you can setup the intersection between your extruded 1D element and the 3D element, such that you resolve the integrals over these, but this is needs a bit more effort in the implementation.

Does that help?

@tzanio tzanio closed this as completed May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants