|
[Sponsors] |
February 5, 2021, 15:12 |
Blockmesh: Calculating Parameters
|
#1 | |
Member
|
Hi everyone,
I want to simulate a kind of tubular heat exchanger and prepared the mesh via blockmesh. Because of its symmetry I made the model as a wedge. Maybe this is irrelevant depending my question but I get the same warning for a change in the geometry setup. For some bigger angles I get the known (?) error below. Quote:
All constructive data are set as parameters in the first part of the blockMeshDict file. There comes the strange thing, I recognised that it is not a problem to do some calculation with the parametric setup but for the grading it is not possible. I did the grading as shown below according to this file: http://www.wolfdynamics.com/wiki/mes..._blockmesh.pdf Code:
hex (4 6 7 5 22 24 25 23) ($ZR3 $ZL1 1) simpleGrading // Block 4 Fluid Wärmeaufnahme ( ( //x-Achse ($BB $DD $EE) ($AA $CC 1) ($BB $DD $FF) ) ( //y-Achse 1; ) ( //z-Achse 1 ) ) At this time my blockMeshDict file looks like this and it works fine. But I would prefer to calculate the FF dependent on EE as shown in the commented lines: Code:
// Grading der Zellen, Ringspalt AA 0.5; // Anteil Kernbereich BB #calc "(1-$AA)/2"; // Bereich Grenzschicht CC 0.4; // Anteil Zellen Kernbereich DD #calc "(1-$CC)/2"; // Anteil Zellen Grenzschicht EE 4; // Grading Da FF 0.25; // Grading Di // FF #calc "pow ($EE, -1)"; // Grading Di - Berechnen geht nicht // FF #calc "1/($EE)"; // Grading Di - Berechnen geht nicht So far I have no problem setting one more parameter for FF but I would like to know why this calculation is not working in that intented use. Does anyone have a clue? Best regards Michael |
||
February 9, 2021, 14:09 |
|
#2 |
Member
|
Moved this question to the better suited site:
Mesh defining with parameters Please delete if desired. Best regards Michael |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions on dynamicTopoFvMesh | danvica | OpenFOAM Running, Solving & CFD | 80 | April 16, 2019 16:58 |
How to modify Arrhenius rate parameters in Fluent ?? | Kashif123 | FLUENT | 0 | October 25, 2016 21:59 |
[DesignModeler] Import from NX, Parameters and Named Selections are Missing | snow720 | ANSYS Meshing & Geometry | 2 | September 15, 2016 19:28 |
COMSOL Turbulent Model Parameters | Ximena Delgadillo | COMSOL | 0 | July 18, 2016 14:21 |
Turbulence model parameters and equations | Maximus91 | Main CFD Forum | 1 | October 24, 2012 13:20 |