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

Interpolation with moving meshes

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 20, 2009, 10:31
Default Interpolation with moving meshes
  #1
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 8
Martijn is on a distinguished road
Hi,

I'm trying to simulate the movement of a valve with great displacements. Because of these great displacement I have to change my grid several times during the transient simulation. I start with an initial mesh that deformes until it is as big as the second mesh, then the results of the last run should be interpolated on the new mesh. The problem is that this interpolation is very bad. It seems that CFX-11 uses the old, original, non deformed positions of the mesh nodes to interpolate the results onto the new mesh while it extraplolates the results to the part of the new geometry that is now outside the old geometry.

Is there any way to enhance this interpolation?

Thanks in advance!

Kind regards,

Martijn
Martijn is offline   Reply With Quote

Old   March 20, 2009, 11:02
Question
  #2
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 446
Rep Power: 11
mvoss is on a distinguished road
hi,

i am not sure.
There is an option called "include mesh" for the transient results.So the updated nodeparameters are included.
But that sounds to easy for my opinion.

neewbie
mvoss is offline   Reply With Quote

Old   March 22, 2009, 18:15
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Hi,

I reported this exact issue as a bug in CFX many releases ago and was assured by the developers that it had been fixed. But then my work moved on and I never used it again so I have never tested it to see if it really was fixed.

So it may be a bug in CFX which has not been fixed properly yet - keep that in mind as you work on it. If you can show a bug in CFX please report it so it can be fixed.

Glenn Horrocks
ghorrocks is offline   Reply With Quote

Old   March 23, 2009, 08:11
Default
  #4
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 8
Martijn is on a distinguished road
Quote:
Originally Posted by neewbie View Post
hi,

i am not sure.
There is an option called "include mesh" for the transient results.So the updated nodeparameters are included.
But that sounds to easy for my opinion.

neewbie
Thanks for your reply. Unfortunately this option does not work; .res files are not influenced by this setting (and I think this is option is only valid for CFX <=10). But with testing of this setting I found out that when I use the last .trn file as input for the next run CFX is able to interpolate with the correct result.
The problem with this solution is that I have to write a .trn file every timestep because I do not know how many timesteps my simulation takes.


Does anybody have an idea how to make CFX-11 write only a .trn file when a certain Fortran routine says so?


Glenn Horrocks: I already reported this problem to the CFX support, but do not have an answer yet.
Martijn is offline   Reply With Quote

Old   March 23, 2009, 08:40
Default
  #5
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 446
Rep Power: 11
mvoss is on a distinguished road
Quote:
Originally Posted by Martijn View Post
But with testing of this setting I found out that when I use the last .trn file as input for the next run CFX is able to interpolate with the correct result.
hi,
That´s what i´ve thought. The option turns on the savingoption for including the mesh in every .trn-file. That´s why it worked for you when starting with the last trn.-file.

For the Fortran issue... i´ve got no idea.
Sorry.
If you figure it out, please let us know.

neewbie
mvoss is offline   Reply With Quote

Old   March 27, 2009, 11:20
Default Solved.
  #6
New Member
 
Martijn
Join Date: Mar 2009
Posts: 14
Rep Power: 8
Martijn is on a distinguished road
I solved the problem.
After some testing I found out that the problem was not caused by the interpolation of CFX. I made a stupid mistake in my Perl script which I used to start the new run. Due to this mistake my initial solution (for the first run) was used every time when starting a new run.
So, interpolating with moving meshes isn't a problem after all...

Glenn and Newbee, thanks for your help.
Martijn is offline   Reply With Quote

Reply

Tags
cfx 11, interpolation, moving grid, moving mesh

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Moving Meshes Animation Tristan CFX 3 March 19, 2009 20:14
Problem of restarting moving meshes with icoDyMFoam rolando OpenFOAM Bugs 8 March 23, 2007 07:18
Moving mesh turbulent incompressible flow of complex meshes philippose OpenFOAM Running, Solving & CFD 5 March 13, 2007 04:35
Question about moving meshes at star-cd 3.22 Tiny CD-adapco 3 June 29, 2005 11:07
Moving meshes, is that possible Stanislav Kraev CD-adapco 0 April 8, 2003 11:23


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