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

2D Dynamic mesh simulation of a scroll expander

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2018, 19:48
Default
  #41
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Double precision - CFX-Pre, in execution control. It is also an option in Solver Manager and a command line argument.

Equations of motion - I have no idea about the ICEM side of this, I do not do dynamic remeshing so have no experience with it. I am suspicious about the "Time This Run" variable, however.

Timestep - you are not even getting to the solver yet so time step is irrelevant. But when you do fix this motion issue and the solver starts the first thing to try when you have convergence difficulties is smaller time steps.

I have never used "Time This Run" and do not know exactly what it means. Are you sure this is doing what you expect? Why not just use the normal time variable, "t".
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 04:09
Default
  #42
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Double precision - CFX-Pre, in execution control. It is also an option in Solver Manager and a command line argument.

Equations of motion - I have no idea about the ICEM side of this, I do not do dynamic remeshing so have no experience with it. I am suspicious about the "Time This Run" variable, however.

Timestep - you are not even getting to the solver yet so time step is irrelevant. But when you do fix this motion issue and the solver starts the first thing to try when you have convergence difficulties is smaller time steps.

I have never used "Time This Run" and do not know exactly what it means. Are you sure this is doing what you expect? Why not just use the normal time variable, "t".
Thanks a lot for all your useful answers !!

I tried my simulation with a simple x translation over time, and did everything you told me in the earlier post, and I got my simulation to work !!

However, it ran for about 3h30, and then it gave me an error message "no CFX input file exists" something like that, while remeshing. When I am recording my replay script on ICEM, do I also need to record the "cfx5 file export" step?

I also definitely have issues with my motions, because with the translation it works fine. But I have no motion in the CFX Post while trying to make an animation even though I have my graphs showing X moving over time...

As for the double precision, I turned it on in the CFX Pre execution control, but when simulating, it gives me the warning "floating point is written in single precision only" something similar to that. What could it be?

Thanks again !
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 05:13
Default
  #43
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Here the error I get in the simulation:

warning.PNG
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 06:36
Default
  #44
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Make sure you have the "Save Mesh" option selected in your transient results file options. You need that to see the motion of the mesh.

The error message is saying some input file is single precision. But keep the solver running in double precision while you are debugging. You don't want weird single precision round off errors making things more complex.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 06:56
Default
  #45
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Make sure you have the "Save Mesh" option selected in your transient results file options. You need that to see the motion of the mesh.
Could you please be more specific? I don't see this option here:

output.PNG
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 07:00
Default
  #46
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Are you using an old version of CFX? If so it might be time to update

If you are on an old version of CFX without the include mesh option then your only option is to select from Options the "full save" or "all variables" option (I can't remember the exact term).
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 07:04
Default
  #47
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
I am using the Ansys 18.1 release, I don't know if it is considered as an old version

But in any case, I can't update because I am using the academic version on the university computers
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 07:08
Default
  #48
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Maybe here?

output.PNG
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 07:08
Default
  #49
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The current version is 19.1, but I am sure that option was available in V18.1 as well. Maybe that option only comes up when you go to "Selected Variables". If that is the case then the mesh should be included in the output file. (This is confirmed in your later post)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 07:11
Default
  #50
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Ok perfect, thanks !

Should I select all the variables? Wouldn't it slow the simulation too much?
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 07:25
Default
  #51
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
To debug mesh motion you don't need any variables, just the mesh.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 07:30
Default
  #52
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Ok, thanks a lot !!

I will see if I can do the entire simulation without problems

A last small question: as the motion equations seem to be problematic, would it be possible to make successive linear motion steps ?

For exemple, instead of doing a circular motion, doing hexagonal motion with 6 successive linear motions (Hope I am clear enough )
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 08:03
Default
  #53
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You can define the motion to do anything you can write a function to describe.

There are a few ways to describe the motion. The normal way is Displacement relative to "Initial Mesh", but you can change it to "Previous Mesh" and then you specify the incremental change (if I remember correctly). The big problem with Previous Mesh is that numerical errors add up and so if you define a motion and return back to where it started from it will often be displaced from the starting location.

But start simple, get some simple motions like linear and circular working before you go to something more complex.
louisdub11 likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 21, 2018, 11:35
Default
  #54
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
You can turn on double precision in the start-up menu (where you make choices regarding parallel settings, interpolation etc.) of the solver manager.
louisdub11 likes this.

Last edited by Gert-Jan; May 22, 2018 at 07:33.
Gert-Jan is offline   Reply With Quote

Old   May 21, 2018, 15:58
Default
  #55
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Okay, my simulation seems to work fine at the beginning.

But I have a problem, when I get to the remeshing step, the solver stops running and gives me this error:

error1.PNG

Here you can see the solver if it can help you see something I don't see

cfxpre.PNG

I also have another weird thing, I'm supposed to just have an X translation of one of the scroll profile, and I get this strange deformation, and I still don't have a motion even if I have activated the "include mesh" option:

scroll.jpg

Any clue?
louisdub11 is offline   Reply With Quote

Old   May 21, 2018, 19:21
Default
  #56
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You should do the remeshing tutorial examples on the ANSYS customer webpage for how to run remeshing simulations.

Your image shows you have not set up the motion definitions correctly. I suspect you want the impeller walls to have defined displacement, but the outer boundary to be stationary.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   May 22, 2018, 04:28
Default
  #57
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You should do the remeshing tutorial examples on the ANSYS customer webpage for how to run remeshing simulations.
Just to be sure, the tutorials are a PDF called "Ansys CFX Tutorials", and not a set of videos?

Quote:
Originally Posted by ghorrocks View Post
Your image shows you have not set up the motion definitions correctly. I suspect you want the impeller walls to have defined displacement, but the outer boundary to be stationary.
It is strange, because I created 2 different boundaries, the stationary part I called it "wall1" and the moving part is called "wall2". I defined a motion for one and the other one is stationary in the boundary parameters in CFX Pre I really don't understand why there is this deformation...
louisdub11 is offline   Reply With Quote

Old   May 22, 2018, 05:52
Default
  #58
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
I have this tutorial, but don't know if it is the one you're talking about:

Screen Shot 2018-05-22 at 11.51.11.jpg
louisdub11 is offline   Reply With Quote

Old   May 22, 2018, 07:36
Default
  #59
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,705
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Dynamic remeshing is not included in the normal CFX tutorials on the link you show. Dynamic remeshing involves both CFX and ICEM so two separate packages. For this tutorial you need to go to the ANSYS Customer site and search the tutorial examples there - that is where you will find the dynamic remeshing tutorials.

Regarding the unexplained deformations: Have a look at the whole mesh in the post processor. In particular look at the intersection of boundaries. At edges where a symmetry boundary and a wall meet you have the wall with a stationary motion and the symmetry with an unspecified motion. Make sure that the solver choose the stationary motion and not the symmetry motion in these cases.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   July 1, 2018, 18:03
Default
  #60
Member
 
Louis Dubail
Join Date: May 2018
Location: Brussels, Belgium
Posts: 52
Rep Power: 7
louisdub11 is on a distinguished road
Hello again,

As I couldn't have access to the customer portal for dynamic meshes, my objectives have changed: I need now to do the simulation of a journal bearing.

My first question is: when doing the mesh, should I generate a mesh for all the different parts, or should I generate a mesh only for the fluid region?

Thanks
louisdub11 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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
radial turbine blade simulation with dynamic mesh 6dof(fluent) mamyjooooon FLUENT 0 April 7, 2011 14:28
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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