|
[Sponsors] |
How to use setExprFields on a boundary patch? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 27, 2023, 15:52 |
How to use setExprFields on a boundary patch?
|
#1 |
New Member
Prom
Join Date: Aug 2023
Posts: 7
Rep Power: 2 |
Hello, I am wondering how I can set a scalar field to apply specifically to a boundary patch. I have used the following sequence of commands to mesh and create patches on a .stl file that I am working with:
Code:
surfaceFeatureExtract blockMesh snappyHexMesh -overwrite topoSet createPatch That sequence of code allowed me to create patches on the surface and patches on the bottom of the .stl file (CAD rendering) that I plan to do simulations on. I want to apply a temperature field to the surface patch alone so that it would be an initial condition. My newly created patches are found in 0.5/polyMesh/boundary and I don't know how I can refer to them from setExprFieldsDict. Can someone advise on the proper workflow or a tutorial that covers this please? Thank you! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
steadyUniversalMRFFoam Tutorial fails in MixingPlane | HenrikJohansson | OpenFOAM Bugs | 0 | February 14, 2019 04:48 |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 13:48 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 07:00 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 02:34 |