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

Export profil every time step

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2020, 10:42
Default Export profil every time step
  #1
New Member
 
Join Date: Jul 2019
Posts: 23
Rep Power: 7
ehecboy is on a distinguished road
Hey guys,
im currently working on my master thesis. Im simulating a combustion which needs a lot of time. Therefore I want to export a Profil in fluent, which includes the x-, y-, z-coordinates, velocities and temperature at a certain plane at every timestep. This Profil should be used in another case as boundary condition.
Is it possible to get these informations in just one file?

Thanks for helping
Simon
ehecboy is offline   Reply With Quote

Old   May 12, 2020, 10:52
Default Profiles
  #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
Doable but not using standard approach. However, how do you plan on using merged profiles?
__________________
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   May 12, 2020, 11:23
Default
  #3
New Member
 
Join Date: Jul 2019
Posts: 23
Rep Power: 7
ehecboy is on a distinguished road
My idea is that I first simulate the entire combustion chamber and then cut out a cuboid and then only calculate this new small region. For this I need the time-dependent boundary conditions of the cuboid's walls.

I tried a execute command, that writes every second a Profil. But the problem is, that this file has a constant name and after every second fluent wants to overwrite or cancel the new data.

my execute command:

file/write-profile/ profil-name interior-fluid_domain() temperature

What is your suggestion?
ehecboy is offline   Reply With Quote

Old   May 12, 2020, 11:27
Default Time Dependent BC
  #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
You cannot apply time-dependent profile using profile files. Profiles are either time-dependent or space-dependent, not both. So, you need to export profiles separately for each time-step. Modify your command to include time-step in the file name. So, instead of using profile-name, use profile-name_%t. %t is automatically replaced by time-step and you will end up having a lot of different profile files.
__________________
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   May 12, 2020, 11:38
Default
  #5
New Member
 
Join Date: Jul 2019
Posts: 23
Rep Power: 7
ehecboy is on a distinguished road
Perfect, it worked thanks a lot

And what would be the smartest way to read these files?

also a execute command which reads and sets the boundary condition after every second?
ehecboy is offline   Reply With Quote

Old   May 12, 2020, 11:45
Default Reading
  #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
Yes, you can read it same way. You only need to set bc once. After that, just keep on reading profiles every time-step. No need to set the bc again.
__________________
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   May 13, 2020, 05:44
Default
  #7
New Member
 
Join Date: Jul 2019
Posts: 23
Rep Power: 7
ehecboy is on a distinguished road
Thanks a lot for helping.

To read the files the same way didnt work. When I want to read the file: name_%t, fluent says that the file does not exist
ehecboy is offline   Reply With Quote

Old   May 13, 2020, 06:08
Default Format Specifier
  #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
%t and %i can be used for writing but not for reading a file. You have to use scheme command to read those files.

(ti-menu-load-string (format #f "file read-profile name_~04d.prof" (rpgetvar 'time-step)))

where you need to replace name_ with actual basename. 04 specifies number of 0s before value at the end. So, if the file name is name_0003.prof, then the command above will read it. If it is 00003, then use 05 in place of 04.
__________________
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   May 13, 2020, 06:38
Default
  #9
New Member
 
Join Date: Jul 2019
Posts: 23
Rep Power: 7
ehecboy is on a distinguished road
Thank you, it worked

I see there is so much more to learn in fluent
ehecboy is offline   Reply With Quote

Old   May 13, 2020, 08:57
Default
  #10
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
Hello
i am working on gas-solid fluidization and want to save volume fraction of solid for each second. How it can be done in fluent kindly help me.
hassanayaz is offline   Reply With Quote

Old   May 13, 2020, 09:45
Default Solid Volume Fraction
  #11
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
For that, you don't need anything special. Just setup a volume monitor under Report Definitions. However, in a fluidized bed, you don't expect solid volume fraction to change.
hassanayaz 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   May 15, 2020, 07:52
Default
  #12
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
Hello!
I want to know how to calculate RMS of bed pressure fluctuations in fluidization bed during simulation using Ansys Fluent?????????
hassanayaz is offline   Reply With Quote

Old   May 15, 2020, 08:07
Default Rms
  #13
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
RMS values over space or over time. If it is over time, then you need to run transient simulation with statistical sampling enabled. Then, Fluent will directly report RMS and mean values. If you have already run a transient simulation and did not enable sampling, but you have saved intermediate files, then you can determine RMS manually or using CFDPost.
hassanayaz 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   May 15, 2020, 14:12
Default
  #14
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
Thank you Vinerm
actually i am beginner on Ansys fluent and i have assigned a task to plot a standard deviation (pascal) vs superficial gas velocity(independent variable) in fluidization column. someone said it is rms bed fluctuation, so kindly guide me can it be rms value or something else..... also tell how standard deviation can find using fluent.
hassanayaz is offline   Reply With Quote

Old   May 15, 2020, 15:28
Default Rms
  #15
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, rms and standard deviation are same. However, you need data to determine that. And data collection requires transient simulation. Once you setup a transient simulation, Fluent has an option under Run Calculation to enable sampling. Once sampling is enabled, RMS values are available for post-processing once the simulation is complete.
hassanayaz 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   May 16, 2020, 06:00
Default
  #16
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
How can i calculate slip velocity in fluidization colunm using fluent cfd??? guide in detail with steps.
hassanayaz is offline   Reply With Quote

Old   May 16, 2020, 07:08
Default Slip Velocity
  #17
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
Just take a difference of velocities of primary and secondary phase.
__________________
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   May 17, 2020, 06:11
Default
  #18
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
How i can judge that in fluidization steady state is reached or not doing simulation on Ansys Fluent
hassanayaz is offline   Reply With Quote

Old   May 17, 2020, 17:16
Default Fluidization
  #19
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 it is steady, it is not fluidized. Fluidization is an inherently unsteady phenomenon. However, you can certainly look at statistical steadiness. For that, you can look at various fields, such as, average velocity of solids or the average height of fluidized zone. If these fields are varying with a certain frequency, then you can consider the fluidization to be statistically steady.
__________________
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   May 28, 2020, 06:54
Default
  #20
New Member
 
Hassan
Join Date: May 2020
Posts: 20
Rep Power: 6
hassanayaz is on a distinguished road
Hello
i want to create a custom field function for the slip velocity in ansys fluent can any body guide me in detail??? what values will use etc
hassanayaz is offline   Reply With Quote

Reply

Tags
boundary condition, every time step, export profil


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
courant number increases to rather large values 6863523 OpenFOAM Running, Solving & CFD 22 July 6, 2023 00:48
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 16:22.