Hi Abhishek and Colin,
Depending on what the notch looks like, we might be able to use extrusion with variable number of cells to represent it; e.g., the following might work if the notch is simple enough:
mesh = ExtrudedMesh(annulus, layers=[[0, N],[0, N],...
[1, N], # <- notch
...
[0, N]])
_______________________________________________
Best,Koki
From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Cotter, Colin J <colin.cotter@imperial.ac.uk>
Sent: Friday, May 7, 2021 6:39 AM
To: Venketeswaran, Abhishek (FN) <Abhishek.Venketeswaran@netl.doe.gov>
Cc: firedrake <firedrake@imperial.ac.uk>
Subject: Re: [firedrake] Delete element to model notch/crack in an Extruded MeshHi Abhishek,You can’t delete individual elements from an extruded mesh, since they are just 2D meshes as far as DMPlex is concerned. The idea of extruded meshes is to increase performance by having the mesh structured in the extruded direction.
all the bestcjc
On 6 May 2021, at 22:37, Venketeswaran, Abhishek (FN) <Abhishek.Venketeswaran@netl.doe.gov> wrote:
Hi,I have created a hexahedral mesh of a pipe by extruding an annulus meshed with quadrilateral elements. I need to model a notch or crack by deleting elements from the mesh. I looked into mesh.py but I am not confident of what functions I need to look into. Can anyone help me with a simple code to delete an element for a given extruded mesh or list the functions that I should look into?
Thanks_______________________________________________--
Abhishek VenketeswaranNETL Research Associate - ORISENational Energy Technology LaboratoryDepartment of EnergyWork: 412-386-4833Mobile: 716-507-7890<Outlook-qlsfbeig.png>
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake
firedrake mailing list
firedrake@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/firedrake