pdeplotfaces

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - FEM/PDE
Introduced first in SolidGeometry 4.0, Creation date: 2017-07-20, Last change: 2025-09-14

simply plots the surfaces to select



See Also: pdemodelofSG , FSplot , pdestressstatic

Example Illustration

 missing image of pdeplotfaces(model)

Syntax

pdeplotfaces(model)

Input Parameter

model: pde model

Examples



model=pdemodelofSG(SG);
pdeplotfaces(model);




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

The function pdeplotfaces is designed to plot the surfaces of a PDE model to facilitate selection. It is part of the SolidGeometry library and was introduced in version 4.0.

Input Parameters

Function Workflow

The function pdeplotfaces performs the following steps:

  1. It calls the pdegplot function with the model as an argument. The pdegplot function is used to plot the geometry of the PDE model.
  2. The option 'Facelabel','on' is passed to pdegplot, which enables the labeling of faces in the plot. This helps in identifying and selecting different surfaces of the model.
  3. The show command is used to display the plot. This command ensures that the plot window is brought to the front and made visible to the user.

Example Usage

An example of how to use the pdeplotfaces function is provided:

SG = SGreadSTL('/Applications/MATLAB_R2017a.app/toolbox/pde/pdedata/BracketWithHole.stl', 1000);
model = pdemodelofSG(SG);
pdeplotfaces(model);

In this example, an STL file is read using SGreadSTL, and a PDE model is created from the solid geometry using pdemodelofSG. The pdeplotfaces function is then called to plot and label the faces of the model.

Algorithm explaination created using ChatGPT on 2025-08-18 21:51. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21