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

Fluid front position

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm
  • 1 Post By vinerm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2020, 11:59
Default Fluid front position
  #1
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Hello everyone,
I am modeling the capillary rise inside a tube.
I want to plot the position of the fluid front vs. time.
Or find the fluid front position in each time step.
I will be so pleased if you could help me.
Thanks
amir2552 is offline   Reply With Quote

Old   March 25, 2020, 12:32
Default Fluid Front
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
The fluid-gas interface would not have a single position, so, either you can track average position or maximum and minimum values, as far as a single value is concerned. However, you can certainly track the evolution of the iso-surface of volume fraction 0.5 for liquid (or gas). This will show the animation of moving front. But this will not give you a plot of some value vs. time.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 25, 2020, 12:55
Default
  #3
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
The fluid-gas interface would not have a single position, so, either you can track average position or maximum and minimum values, as far as a single value is concerned. However, you can certainly track the evolution of the iso-surface of volume fraction 0.5 for liquid (or gas). This will show the animation of moving front. But this will not give you a plot of some value vs. time.
Thank you for your reply.
If I just want to know the fluid front element positions in each time step, how can find them.
amir2552 is offline   Reply With Quote

Old   March 25, 2020, 13:39
Default Interface Capturing
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
In Fluent, moving mesh is not used for interface capturing or tracking. The mesh is always fixed. The approach used is called VOF and it captures the interface using volume fraction occupied by a particular fluid. So, if you want to determine where the front is, you just need to create an Iso-surface of Volume Fraction of either gas or liquid with a value of 0.5. Then you can export the values of all coordinates on this front. However, this will not be a single value until and unless the front is planar, such as, if water is drained from a very small hole in a very large tank, then the water-air interface would be plane for quite a long time, except near the end of draining. Since you are talking about capillary, the front is certainly not plane. Hence, cannot be represented by a single value. Though you can use average coordinate to represent the front.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 25, 2020, 13:55
Default
  #5
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
In Fluent, moving mesh is not used for interface capturing or tracking. The mesh is always fixed. The approach used is called VOF and it captures the interface using volume fraction occupied by a particular fluid. So, if you want to determine where the front is, you just need to create an Iso-surface of Volume Fraction of either gas or liquid with a value of 0.5. Then you can export the values of all coordinates on this front. However, this will not be a single value until and unless the front is planar, such as, if water is drained from a very small hole in a very large tank, then the water-air interface would be plane for quite a long time, except near the end of draining. Since you are talking about capillary, the front is certainly not plane. Hence, cannot be represented by a single value. Though you can use average coordinate to represent the front.
Thanks for your complete description. Would you please let me know how can I create an Iso-Surface? and How can I extract the surface's position result from Fluent?
Thank you very much in advance.
amir2552 is offline   Reply With Quote

Old   March 25, 2020, 14:08
Default Surfaces and Extraction
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You can follow the link below for surface creation. It would available under Surfaces in ribbon in new versions.

For extraction, you can use File > Export > Solution. Select ASCII and then surface that you created.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 25, 2020, 14:20
Default
  #7
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
You can follow the link below for surface creation. It would available under Surfaces in ribbon in new versions.

For extraction, you can use File > Export > Solution. Select ASCII and then surface that you created.
Thank you Vinerm for your help. Can I create an Iso-surface (or iso-line) in a 2D model?
I can't find the link you provided.
amir2552 is offline   Reply With Quote

Old   March 25, 2020, 14:21
Default Link
  #8
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
https://www.afs.enea.it/project/nept...ug/node885.htm
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 25, 2020, 14:27
Default
  #9
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Can I create an Iso-surface (or iso-line) in a 2D model?
Thank you
amir2552 is offline   Reply With Quote

Old   March 25, 2020, 14:29
Default Yes
  #10
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Yes, this is doable. It will be a line, automatically.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 26, 2020, 11:47
Default
  #11
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Yes, this is doable. It will be a line, automatically.
Do you know any method to automatically export data files in ASCII format?
thank you
amir2552 is offline   Reply With Quote

Old   March 26, 2020, 11:51
Default Auto-Export
  #12
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Fluent has it inbuilt. Use File > Export > During Calculation. Choose ASCII and setup the frequency. Do not export at every time-step.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 31, 2020, 12:06
Default
  #13
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Fluent has it inbuilt. Use File > Export > During Calculation. Choose ASCII and setup the frequency. Do not export at every time-step.
I am using an automatic variable time step in my analysis, could you please let me know, how can I print every time step that was taken by Fluent? or the elapsed time after each time step.
(I want to plot flow front vs time, in the constant manual time step, I can connect the flow front location to the time but in variable time step I cannot find the elapsed time for each location)
Thank you in advance
amir2552 is offline   Reply With Quote

Old   March 31, 2020, 12:27
Default Time-Step and Flow-Time
  #14
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Whenever you enable Automatic Time-Stepping and auto-save with time-steps is enabled, Fluent automatically writes the values for time in the output file. However, while setting up autosave, you have to select flow-time instead of time-step. Furthermore, when Fluent is running, it reports time-step value after every time-step. So, you can pick-up those values from the log or out file, provided you saved it.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 31, 2020, 12:38
Default
  #15
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Whenever you enable Automatic Time-Stepping and auto-save with time-steps is enabled, Fluent automatically writes the values for time in the output file. However, while setting up autosave, you have to select flow-time instead of time-step. Furthermore, when Fluent is running, it reports time-step value after every time-step. So, you can pick-up those values from the log or out file, provided you saved it.
Thank you for your help.
Do you know which Courant number should be suitable for this kind of analysis?
amir2552 is offline   Reply With Quote

Old   March 31, 2020, 12:49
Default CFL for Implicit
  #16
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
If you are using Implicit VOF, then you can go up to a rather high value but should keep it below 10 for good results. For Explicit, it is limited to 1.99999.
amir2552 likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   April 16, 2020, 15:09
Default
  #17
New Member
 
Amir
Join Date: Feb 2020
Posts: 9
Rep Power: 6
amir2552 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
If you are using Implicit VOF, then you can go up to a rather high value but should keep it below 10 for good results. For Explicit, it is limited to 1.99999.
Hello Vinerm,
Could you please let me know, How can I define rectangular mesh shapes inside Ansys meshing.
For example, consider a rectangular Shape. Its length and width are 10 and 5.
I want to have rectangular meshes with length 1 and width 0.5. In this way, I will have 10 elements on each side.
Thank you
amir2552 is offline   Reply With Quote

Old   April 16, 2020, 15:41
Default Mapped Meshing
  #18
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You have to apply mapped meshing on Face. If you apply equal number of divisions on opposite sides, meshing will automatically create mapped mesh.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
capillary rise, fluid front, fluid front position


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
Condensation of water vapor to water visitor CFX 7 June 7, 2019 19:25
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
How to choose the mean diameter value for dispersed fluid? creddy_trddc CFX 1 October 30, 2011 05:30
How to apply negtive pressure to outlet bioman66 CFX 5 June 3, 2006 02:40
Intl Conf Computational Methods in Fluid Power Jacek Stecki Main CFD Forum 0 November 10, 2002 06:49


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