|
[Sponsors] |
February 18, 2024, 04:13 |
Mesh stifness devided by zero
|
#1 |
New Member
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 5 |
Hello everyone,
I am simulating a heaving plate using dynamic mesh. As the amplitude of oscillation is high, I wanted to use varying stiffness (1 [m^3 s^-1]/Wall Distance) to preserve the mesh near the wall where the mesh is fine. However, when the run starts, it gives the following error: "PROBLEM ENCOUNTERED WHEN EXECUTING CFX EXPRESSION LANGUAGE | | The CFX expression language was evaluating: | Mesh Stiffness | | The problem was: | DIVIDE-BY-ZERO | Does anyone know what the problem is? |
|
February 18, 2024, 08:53 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
The message shows that CFX is dividing by zero. So, somewhere the variable Wall Distance equals 0. Quite obvious, not?
You could prevent the division by zero by maximizing the denominator like: 1 [m^3 s^-1]/max(1e-6[m],Wall Distance) Then CFX won't divide by 0, but by 1e-6[m] if Wall Distance is smaller than 1e-6. Not sure if 1e-6 is okay for your application. That is what you should test. Last edited by Gert-Jan; February 18, 2024 at 11:16. |
|
Tags |
cfx, dynamic mesh, varying stiffness |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
[snappyHexMesh] High quality mesh for wind in complex urban environment | ziboaa | OpenFOAM Meshing & Mesh Conversion | 1 | January 12, 2021 16:33 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[ICEM] Bad Quality Hybrid Mesh External Flow | tim13 | ANSYS Meshing & Geometry | 0 | March 8, 2020 03:22 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |