CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Mesh stifness devided by zero

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Gert-Jan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2024, 03:13
Default Mesh stifness devided by zero
  #1
New Member
 
Amin
Join Date: Dec 2021
Posts: 20
Rep Power: 4
maba is on a distinguished road
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?
maba is offline   Reply With Quote

Old   February 18, 2024, 07:53
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
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.
Opaque likes this.

Last edited by Gert-Jan; February 18, 2024 at 10:16.
Gert-Jan is offline   Reply With Quote

Reply

Tags
cfx, dynamic mesh, varying stiffness


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
[snappyHexMesh] High quality mesh for wind in complex urban environment ziboaa OpenFOAM Meshing & Mesh Conversion 1 January 12, 2021 15:33
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[ICEM] Bad Quality Hybrid Mesh External Flow tim13 ANSYS Meshing & Geometry 0 March 8, 2020 02:22
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 18:48.