I have 2 problems about local coordinate system in Comsol.
1. how to offset my coordinate system?
2. how to assign local coordinate system on a deformed shape like a bump? I think the boundary system is the appropriate choice but I don't know how to set the tangential vector (to be tangent on each meshes of the deformed shape in the chosen domain or boundary). also what would be the related field in the new coordinate system. for example the x component of the electric field in the global system is Ex. what is the tangential and normal components of the electric field in the new coordinate system?