Meshing: Cap off for Cap on

Niklas Rom October 11, 2012
Share this on Facebook Share this on Twitter Share this on Google+ Share this on LinkedIn

Oftentimes when you are working with devices with internal fluid flow, the imported CAD design represents the vessel material. The inside is plainly void. This may leave you clueless since it is inside where you want to create a volume mesh for the flow equations. How can you solve this meshing problem in COMSOL?

CAD design of pipe for fluid flow analysis
CAD design of a pipe for fluid flow analysis. Only the solid is present and meshable.

  1. If you are looking to mesh the inside of an internal fluid flow device, you will need to use the Cap Faces feature. This adds a lid to inlet/outlets orifices and fills the inside with a mesh automatically. The cap can be a curved surface if needed.
  2. Cap Faces
    Right click geometry and select Cap Faces.

  3. Then select the bounding edges of the new cap.
  4. Edges next to the new cap are selected
    Select the edges that are adjacent to the new cap.

  5. If you have capped both the inlet and outlet orifices, a volume mesh will be created inside the pipe.
  6. Capped and filled geometry
    The capped and filled geometry.


Post Tags

Technical Content


  1. Ishant October 12, 2012   6:48 am

    I didn’t find this option of CAP FACES for COMSOL 4.3a as I Have tried the same for the similar geometry.


  2. James D. Freels October 12, 2012   8:40 am

    I think this is a CAD import module feature. Also, once used, the CAD import module license stays “checked out” each time this model is opened.

  3. Bjorn Sjodin October 15, 2012   8:31 am

    Yes, this is correct. To get this feature, you will need to have the CAD Import Module or one of the LiveLink products for CAD.

  4. Jeff Hiller January 27, 2017   9:02 am

    Update on Bjorn’s message above: Cap Faces is also available in the Design Module.

Loading Comments...