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

Problems with object-viscosity while remeshing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2010, 11:19
Default Problems with object-viscosity while remeshing
  #1
New Member
 
Panhuber Wolfgang
Join Date: Jul 2010
Posts: 2
Rep Power: 0
Wolf is on a distinguished road
Hello,

I want to analyse a checkvalve in CFX with moving mesh + automatic remeshing. On the basis of the checkvalve (CFX tutorial) and the automatic remesh tutorials (http://www.edr.no/blogg/ansys_blogge...cfx_re_meshing) I set up my simulation which principally works.

BUT the velocity of the ball jumps between the last iteration of the old mesh and the new remeshed mesh. My conclusion is that the adjustments for the mapping are not right (Maybe the part list, ... ). I have chosen the adjustments as shown in the appendix.


How can I determine the Ball (Object) velocity in a different way than using the variable
areaAve(Mesh Velocity v)@Ball ?

Can somebody explain me how I have do the adjustments.

Thank you very much for your help!

Yours sincerely

Wolf
Attached Images
File Type: jpg Expressions Adjustments.jpg (89.0 KB, 20 views)
File Type: jpg output Adjustments.jpg (87.7 KB, 16 views)
File Type: jpg remesh Adjustments.jpg (90.8 KB, 18 views)
File Type: png Velocity Jump.png (15.9 KB, 15 views)
Wolf is offline   Reply With Quote

Old   July 18, 2010, 07:22
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Why do you say the areaAve function is a problem?

It is using a trick in CFX to get the velocity at the previous timestep, as the CEL expression is evaluated before the mesh is moved so it gives you the velocity in the previous time step. I do not know of any other way to do it, except by using fortran.

Don't forget you can do this using the 6DOF solver in V12 or later.
ghorrocks is offline   Reply With Quote

Old   July 22, 2010, 09:59
Default Remesh Problems - Cyclic dependency
  #3
New Member
 
Panhuber Wolfgang
Join Date: Jul 2010
Posts: 2
Rep Power: 0
Wolf is on a distinguished road
Thank you ghorrocks for your response!

You are right, those functions are working right.
I took a longer look at the OUT-files and did some changes in the timeStep, remeshCondition and other parameters.

By comparing the min/max values of the variables like pressure, I could figure out that the mapping process works. But after having loaded the new mesh, a much to high pressure leading to the extremely high rise of the velocity of the ball is calculated in the next iterations .

Now I think that the variable
dBallOld = aveArea(Total Centruid Displacement Y)@Ball is the Problem, since its values determine the displacement after the re-mesh.

I tried to calculate this displacement on my own. But I need a cyclic dependency with one expression. This means

dBallNew = dBallOld + dBallTemp

dBallOld = areaAve(Mesh Displacement Y)@Ball

dBallTemp = if(t==0[s], 0, if(remeshCondition == true, dBallTemp + dBallOld, dBallTemp))

BUT this is not acceptable due to cyclic dependency between expressions.

What should I do to handle this problem? I would mail you my source files if it helps you (approx. 8 MB)


Thank you for your help!

Wolf
Wolf is offline   Reply With Quote

Old   July 23, 2010, 01:57
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Like the CEL interpreter I have no idea what you are trying to say with your dBallTemp expression. For example if t<>0 and not remeshing then dBallTemp=dBallTemp - I have no idea what this is supposed to mean but it is definitely wrong.
ghorrocks is offline   Reply With Quote

Reply


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
Eulerian Modeling: Frictional Viscosity Help meangreen FLUENT 1 January 25, 2018 16:13
Turbulent viscosity limited to viscosity... Cyril FLUENT 16 October 4, 2007 07:12
Turbulence viscosity limited Madhukar Rapaka FLUENT 0 June 26, 2006 04:17
Turbulent viscosity limited to viscosity ratio... Cyril FLUENT 8 February 7, 2006 21:34
Problems with changing turbulent viscosity by UDF sarah_ron FLUENT 0 February 14, 2005 01:31


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