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

Simulating a Wave maker in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2020, 05:38
Default
  #21
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Sorry, I forgot that this was applied to a VOF model. Yes, you need a VOF model for the free surface and Lagrangian particles for your particles to track.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 5, 2020, 07:58
Default
  #22
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Sorry, I forgot that this was applied to a VOF model. Yes, you need a VOF model for the free surface and Lagrangian particles for your particles to track.
How I can imlplement the lagrangian particles to VOF Model?
pashazanousi is offline   Reply With Quote

Old   April 5, 2020, 18:00
Default
  #23
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Look at the tutorial examples to see how to set up a particle tracking simulation.

Don't ignore the convection only additional variable suggestion I made right at the start. This approach is MUCH easier to implement and might be good enough for you.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 6, 2020, 05:04
Default
  #24
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
I didn't find any tutorial about particle tracking...I'm really confused...
I tried some thing but didn't get result....What should I do?
0.png

1.png

2.png

3.png

4.png
pashazanousi is offline   Reply With Quote

Old   April 6, 2020, 05:16
Default
  #25
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
You only defined how particle look like and their interaction with air.
But where do you inject them?
Gert-Jan is offline   Reply With Quote

Old   April 6, 2020, 05:25
Default
  #26
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
You only defined how particle look like and their interaction with air.
But where do you inject them?
I don't want do Inject them...I want some particle to plot their path vs simulation time...If I define Inection region I should more than 100 region...let's assume I create region...I define mass flow rate and injection velocity and then what happen?...I get the desire result?...How I plot the particle path?
pashazanousi is offline   Reply With Quote

Old   April 6, 2020, 05:46
Default
  #27
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
First of all, let me repeat this for the third time:

Quote:
Don't ignore the convection only additional variable suggestion I made right at the start. This approach is MUCH easier to implement and might be good enough for you.
If you are having problems with the Lagrangian particle approach you should do this approach as it is much simpler.

And regarding Lagrangian particle tracking - all the basics are covered in the CFX tutorials available in the CFX documentation and the ANSYS Customer webpage. This includes how to set them up and how to visualise them.

I also recall saying previously that you cannot use an injection region to place your particles. The ONLY way to place particles in specific locations is using a user fortran routine.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 9, 2020, 04:18
Default
  #28
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Thank you ghorrocks;
I want to learn Fortran for cfx...I'm looking for a Tutorial...a proper one...
__________________
Best regards

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

Old   April 9, 2020, 12:41
Default Wave Maker
  #29
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
I define a material with Water at 25 properties.
I define a injection region.
Simulation time:0.02 [s],Step:0.01 [s]
But error occur and the result is unacceptable...
A.jpg

B.jpg

C.jpg

D.jpg

E.jpg
__________________
Best regards

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

Old   April 9, 2020, 21:27
Default
  #30
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
We are wasting our time here. Can you please try the additional variable approach I have suggested? The Lagrangian particle approach is not simple and you will need a lot more experience in CFD before you will get that working.

I am not going to help you further on this thread if you persist with the Lagrangian particle tracking. I will only assist you with the additional variable approach.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 10, 2020, 18:06
Default
  #31
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
We are wasting our time here. Can you please try the additional variable approach I have suggested? The Lagrangian particle approach is not simple and you will need a lot more experience in CFD before you will get that working.

I am not going to help you further on this thread if you persist with the Lagrangian particle tracking. I will only assist you with the additional variable approach.
thank you for your attention...
How I can create velocity vector,start from end point of previous step Vectors?
__________________
Best regards

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

Old   April 10, 2020, 21:05
Default
  #32
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I don't understand your question, can you ask it again please? I also do not understand what relevance it has to this thread.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 11, 2020, 18:24
Default
  #33
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I don't understand your question, can you ask it again please? I also do not understand what relevance it has to this thread.
Sorry...I made it hard...I want to plot velocity vectors in each step in same figure...what should I do in each step plot vector from same seeds...
I have 3 new Question?...
1-what do int() and sum() functions do?
2-How I can define a expression with algebraic equations?
3-I want to plot acceleration,I should use differential equation or I want use Integral to obtain displacement of a particle from velocity...I can use Integral or differential to define variable or expression?
thanks for your attention
__________________
Best regards

Saeed Pashazanousi
Urmia University
Email: st_s.pashazanousi@urmia.ac.ir

Last edited by pashazanousi; April 11, 2020 at 18:34. Reason: Extra
pashazanousi is offline   Reply With Quote

Old   April 11, 2020, 21:35
Default
  #34
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,728
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Plotting velocity vectors is a basic post-processing task. The vectors are drawn at seed points. This is all covered in the CFX tutorials. You really should do the tutorials so you understand the basics.

1) I assume you are asking about the CEL expressions. These are all described in the CFX reference guide.

2) This is covered in the CFX tutorials. Please do them, you are wasting everybody's time unless you know the basics.

3) Acceleration of what?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   April 13, 2020, 16:33
Default
  #35
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Plotting velocity vectors is a basic post-processing task. The vectors are drawn at seed points. This is all covered in the CFX tutorials. You really should do the tutorials so you understand the basics.

1) I assume you are asking about the CEL expressions. These are all described in the CFX reference guide.

2) This is covered in the CFX tutorials. Please do them, you are wasting everybody's time unless you know the basics.

3) Acceleration of what?
Thank you...
I'm sorry... I search tutorial but I couldn't understand something and sometimes I ask simple Questions.. I'm really sorry...
I want to create a point that It's position is function of a variable...
I explain more... I want to plot a particle path...
Let's assume Initiall position is (X, Y) ...
Then Next step Position will be as follow:
x=X+U*t
y=Y+V*t
t: constant time step
U:Velocity x direction
V:Velocity y direction
If I can define the point with (x, y) then I can plot the particle path...
Even I can make animation of trajectory...
It is possible to define point like this?
__________________
Best regards

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

Old   July 16, 2023, 10:30
Default
  #36
Member
 
Saeed Pashazanousi
Join Date: Mar 2020
Location: Iran
Posts: 66
Rep Power: 6
pashazanousi is on a distinguished road
This question was long ago, but it is worth saying that I plotted particle paths using Ansys's Ensight. It is a post-processing module in Ansys Workbench. It calculates particle path in a few simple steps and illustrates particle movement as animation. It offers various visual options you can customize for the desired results.
__________________
Best regards

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

Reply

Tags
ansys 14 cfx, cfx


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
wave maker wave maker CFX 12 July 10, 2020 04:35
Coffee Coffee Maker Station Ways to Make lichypanta Main CFD Forum 0 June 16, 2016 03:18
Simulating Ice Accretion in CFX agner583 CFX 3 February 11, 2014 00:50
solving ocean wave with Fluent or CFX? gholamghar Main CFD Forum 1 March 21, 2009 12:49
Question about the shock wave in CFX software nucharin Main CFD Forum 1 January 25, 2005 08:26


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