Automated Meshing with WebUI

Automated Meshing with WebUI#

This page will demonstrate how to run a simulation of the ONERA M6 Wing using the Web UI with geometry built in Engineering Sketch Pad (ESP). More information about ESP installation is available here.

To build the geometry through ESP, we use a series of statements and commands in a scripted fashion. This gives users the ability to rebuild and modify the model most efficiently. All ESP statements and commands are held in a *.csm file.

ESP uses the OpenCSM (Open-source Constructive Solid Modeling) system which is a feature-based, associative, parametric solid modeler. The input to OpenCSM is an ASCII, human-readable *.csm file that is used to describe the model through a series of design parameters and a build prescription.

This quick start will guide users through the following steps:

  1. Create the Geometry and Surface Mesh from *.csm and *.json input files

  2. Create the Volume Mesh from the Surface Mesh

  3. Run the Case from the Volume Mesh

ONERA M6 Wing in ESP

Fig. 1 ONERA M6 Wing generated in ESP#

Flow condition

  • Reynolds: 14.6e+6

  • Mach: 0.84

  • AoA: 3.06°

Geometry and Surface Mesh#

To begin, upload a geometry model built in CSM format. To do this, simply sign in to Flow360 at flow360.simulation.cloud and click the Surface Mesh tab. Then, click the Upload icon as displayed below:

../../_images/uploadCSM.png


This will open an upload panel. Select Upload, navigate to and then select the CSM file. The ONERA M6 Wing ESP Model used in this quick start tutorial can be downloaded here: om6wing.csm.

Provide a name for the surface mesh in the “Surface Mesh Name:” field. In the “Release history:” dropdown, select the solver version. This can be left blank here to use the latest released solver version (default).

Then click Choose File to upload the JSON file for surface mesh generation. For this case, an example surface mesh parameters JSON file is om6SurfaceMesh.json. Finally, select Submit.

../../_images/submitSurfaceMesh.png


The processing status of the submitted surface mesh can be monitored below the Status heading. When the surface mesh is fully processed, generating the volume mesh can be continued.

Note

Please note that status “uploaded” occurs prior to “processed”. First, Flow360 receives the necessary files and then starts processing them. Once processing is complete the surface mesh is ready for use.

Volume Mesh#

Under the Action heading, select New Volume Mesh as shown below:

../../_images/volumeMesh.png


This will open the volume mesh panel as shown below. In the panel, a name can be added to the volume mesh in the “Volume Mesh Name:” field and the solver version selected in the “Release History:” dropdown (leave blank here). In the “JSON Config:” field, when the mouse is held at the right bottom corner, an option to select and upload a volume mesh parameters JSON file can be seen. Click Select file to upload the JSON file for volume mesh generation. For this case, an example volume mesh parameters JSON file is om6VolumeMesh.json. Finally, click Submit.

../../_images/submitVolumeMesh.png


The processing status of the submitted volume mesh can then be monitored in the Volume Mesh tab. Once processed, the CFD case can be submitted.

Simulation#

As shown below, select New Case under the Actions heading.

../../_images/case.png


This will open the case panel shown below. Select Upload JSON file to upload a case configuration JSON file. An example case configuration JSON file with parameters specified for the ONERA M6 Wing CFD simulation is om6Case.json.

../../_images/uploadCase.png


After selecting the case JSON file, the case upload panel shown below will open. In this panel, the simulation can be given a name in the “Case Name:” field. Finally, press Submit to launch the CFD simulation.

../../_images/submitCase.png


The new simulation status will display in the Case tab. When it is “running”, click on the case under the Name heading to monitor convergence of the simulation in the Convergence and Forces tabs as shown below.

../../_images/convergence.png

Force convergence histories are shown below for this example ONERA M6 Wing.

../../_images/CL_CD.png
../../_images/CF2.png
../../_images/CM1.png


When the simulation status is “completed”, the simulation results (with contour plots) can be viewed under the Visualization tab as shown below.

../../_images/cpVisualization.png