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

Update internal mesh with a predicting equation instead of motion solver with diffus?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 3, 2013, 09:03
Question Update internal mesh with a predicting equation instead of motion solver with diffus?
  #1
Member
 
Nick
Join Date: Nov 2011
Location: Tongji University,Shanghai,China
Posts: 33
Blog Entries: 6
Rep Power: 15
sunliming is on a distinguished road
Update internal mesh with a predicting equation instead of motion solver with diffusivity?

Hi, everybody!

My channel has a wavy bottom wall, which can be described as y_wall(x,t)=a*sin(k*(x-c*t), i.e. a travelling sine wave. This could be achieved by adapting "waveDisplacement".

However, I have trouble with the diffusivity. None of the available diffusivity can satisfy my need. For it squeeze grids vertically above crests and stretch over troughs, squeeze makes the first grid spacing much too small, and stretch makes the first grid spacing even larger than the second. Any given point at the bottom wall can be crest at one time, but becomes trough the next time. So it's tricky to give a proper diffusivity. See attached pictures.

Yet, the grid points can be predicted only if the bottom wall position is known. The i_th point elevation y_i = y_0 * r^(i-1) + y_wall, where r is the expansion ratio, y_0 the first grid height.

Does anyone known how to update the internal points using a predicting equation rather the "diffusivity"? Where should I add it?

Best regards.
Nick
Attached Images
File Type: jpg overview.jpg (82.0 KB, 28 views)
File Type: jpg crest.jpg (68.7 KB, 25 views)
File Type: jpg trough.jpg (68.4 KB, 22 views)
sunliming is offline   Reply With Quote

Old   October 14, 2017, 05:02
Default
  #2
New Member
 
leo
Join Date: Sep 2017
Posts: 15
Rep Power: 9
jinsong is on a distinguished road
dear Nick
i am a new of fluent , i need the predicting equatio like sine wave,but i cannot work out in udf,plz help me ,can you show part of your udf code?any advice will be great appreciated,thanks a lot.
jinsong


Quote:
Originally Posted by sunliming View Post
Update internal mesh with a predicting equation instead of motion solver with diffusivity?

Hi, everybody!

My channel has a wavy bottom wall, which can be described as y_wall(x,t)=a*sin(k*(x-c*t), i.e. a travelling sine wave. This could be achieved by adapting "waveDisplacement".

However, I have trouble with the diffusivity. None of the available diffusivity can satisfy my need. For it squeeze grids vertically above crests and stretch over troughs, squeeze makes the first grid spacing much too small, and stretch makes the first grid spacing even larger than the second. Any given point at the bottom wall can be crest at one time, but becomes trough the next time. So it's tricky to give a proper diffusivity. See attached pictures.

Yet, the grid points can be predicted only if the bottom wall position is known. The i_th point elevation y_i = y_0 * r^(i-1) + y_wall, where r is the expansion ratio, y_0 the first grid height.

Does anyone known how to update the internal points using a predicting equation rather the "diffusivity"? Where should I add it?

Best regards.
Nick
jinsong is offline   Reply With Quote

Reply

Tags
diffusivity, dynamic mesh, fvmotionsolver, update mesh, wave propogation


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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
Dynamic mesh update problem. David FLUENT 3 March 15, 2012 06:02
[Commercial meshers] TGridFluent mesh with internal by prism layer and internal face for diagnostic sponiar OpenFOAM Meshing & Mesh Conversion 2 March 30, 2009 16:02
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38
Mesh generator and CFD solver Gennady Kireyko Main CFD Forum 0 May 6, 2001 12:13


All times are GMT -4. The time now is 17:57.