Hello everyone,
I am new to Gridap.jl. I am creating a 3D model of a cantilever beam to apply a distributed load on the right face, and the left face is fixed.
Do you know how to add tags to LEFT and RIGHT faces ?
Here is my code:
using Gridap
L = 1 # Length of 3D cantilever beam
W = 0.2 # Width of 3D cantilever beam
domain = (0,L,0,W,0,W)
partition = (20,6,6)
model = CartesianDiscreteModel(domain,partition) # Mesh
writevtk(model,"model_3D")
add_tag_from_tags!(labels,"left",....) # How to add tag to LEFT face ?
add_tag_from_tags!(labels,"right",....) # How to add tag to RIGHT face ?
Ω = Triangulation(model)
Γ = Boundary(Ω,tags="right") # I want to a load on this face
reffe = ReferenceFE(lagrangian,Float64,1)
Vₕ = TestFESpace(Ω,reffe,dirichlet_tags="left") # This face is fixed
Thank you so much!