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

How assign a normal component velocity to a wall boundary in CFX?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2021, 13:57
Post How assign a normal component velocity to a wall boundary in CFX?
  #1
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
I'm working on the wave run-up along a vertical wall (A rigid wall).
I have two options to replicate a piston-type wavemaker movement and generate the waves. The first one performed by specifying the piston displacement or the piston location as a function of time and The second one implemented by specifying the piston velocity as a function of time.
I simulated a numerical wave flume by using the first option IN ANSYS CFX and validated the results with Linear wave theory and the stork 2nd order theory.
I used the wall velocity option for the wavemaker boundary and enter U(t) for the U(x-component of the velocity) and the mesh motion with an unspecified option selected. But the wall didn't move according to the results.
In fact, I don't know how I should assign a normal velocity component to a wall in CFX?
Sketch of the wave tank
Wave Flume.png
The wavemaker velocity
Wavemaker.jpg
All of the above information are corresponding to this paper: https://doi.org/10.3390/w10080986
Thanks for your attentions
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir
pashazanousi is offline   Reply With Quote

Old   June 11, 2021, 15:21
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
The velocity of the wall is the derivative of the displacement with respect to time, correct?

If you integrate your velocity with respect to time, you should obtain the location of the boundary as a function of time.

You can then write a CEL expression as a function of time for Displacement X, Y or Z.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 11, 2021, 15:40
Default
  #3
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Thanks for your reply...
Yes, I can use integration to determine the piston displacement, but I need an easy and straight way if it exists!
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir
pashazanousi is offline   Reply With Quote

Old   June 11, 2021, 16:26
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
You are not imposing the fluid velocity, but the wall motion.

Using a wall motion velocity BC will introduce discretization error while the displacement specification will be exact, correct?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 11, 2021, 16:42
Default
  #5
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
As I explained before, I inserted U(t) as the x-component of the wall velocity and no error occurred during analysis but in post process the results showed that the wall didn't move to produce the waves.
I don't know is it possible to define the piston displacement as the bellow expression?
Piston displacement=U(t) *time step
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir
pashazanousi is offline   Reply With Quote

Old   June 11, 2021, 21:11
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
I think I understand where you got confused.

Let us think it through to understand the fluid velocity setting:
1 - Is the relative tangential velocity of fluid respect wall zero? -> No Slip, and the fluid does not slide over the surface
2 - Is the relative normal velocity of fluid respect wall zero? Better be; otherwise, the fluid will separate from the wall.

The wall is the one moving into the domain, and it is accounted for a mesh velocity.

Velocity of the fluid at the wall = Velocity of the wall + Velocity of the mesh

On the specification of the wall displacement, sure you can play with

Displacement = U(t) * dt

Just keep in mind that is a first-order integration.
AtoHM likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 12, 2021, 00:08
Default
  #7
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Thanks for your reply again...
I think it will be work if the time steps considered small enough.
In my case, the angular frequency is low about 0.145. This small frequency led to a big excitation period(T) near 43 sec.
According to the paper, the time step must be less than T/400. Therefore, I considered a time step equal to 0.1 sec.
I don't know the time step is small enough or not but The CFX-Solver is running now. I will share the results here to talk about it more.
Thanks for your attention...
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir
pashazanousi is offline   Reply With Quote

Old   June 17, 2021, 03:22
Thumbs up
  #8
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Hi, it worked perfectly!
Two additional tips to achieve better results:
1. Specified displacement equation should be written as below:
Wavemaker Displacement=x+U(t)*dt
It should be noted that x refers to the local X-coordinate of the wavemaker position but X refers to the x-coordinate of the wavemaker initial position.
2.The time step plays an important role to achieve an accurate result. You can use a numerical integration calculator to choose the optimal time step.
a comparison of my results and the paper is shown below Images
Rigid Wall-Freesurface.jpg
Rigid Wall-Run-Up.jpg
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir
pashazanousi is offline   Reply With Quote

Old   June 17, 2021, 09:07
Default
  #9
Senior Member
 
Join Date: Jun 2009
Posts: 1,873
Rep Power: 33
Opaque will become famous soon enough
Glad to hear you got it working!!

I should mention that there are two different sets of coordinates in CEL expressions with mesh motion,

x --> the current position

Initial X, Initial x, initcartcrd x --> initial position of the undeformed mesh

Similarly for y, and z.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Reply

Tags
ansys cfx, cfx, wave run up, waveflume, wavemaker


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
Import .csv - velocity profile - error eSKa CFX 9 April 3, 2021 14:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 14:55
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30


All times are GMT -4. The time now is 13:07.