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

Editing Time in Result files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2007, 13:15
Default Editing Time in Result files
  #1
Erich
Guest
 
Posts: n/a
Hello,

Is there a way to edit time in result files such that you can copy a period and add it to the previous? In effect taking a series of timesteps and doubling its total time. This would be done for a transient pressure loading within Ansys Structural.

Thanks,

Erich
  Reply With Quote

Old   May 11, 2007, 12:33
Default Re: Editing Time in Result files
  #2
Robin
Guest
 
Posts: n/a
Hi Erich,

Good question. You can do this using the CEL int() and nint() functions to find the integer and non-integer parts of a number respectively.

Create a variable, say 'period', equal to the time interval of the period and replace 't' in your expression with 'tPeriod', which can be defined as follows:

tPeriod = nint(t/period)*period # Time of current period nPeriods = int(t/period) # Number of periods that have passed

Similarly, you could write:

tPeriod = t - int(t/period)*period

Both should give you the same result. Note that you can also use this to non-dimensionalize the period. If you wanted to change the period, just multiply the first expression by the 'newPeriod', which you would set to the new value for your period. This will give you the same profile over a different period of time.

Regards, Robin
  Reply With Quote

Old   May 11, 2007, 13:01
Default Re: Editing Time in Result files
  #3
Robin
Guest
 
Posts: n/a
Hi Erich,

I didn't pay close attention to your original question. What I describe above can be applied to repeating transient profiles in CFX. I'm not sure about how your would do this to apply a transient profile to ANSYS.

Regards, Robin
  Reply With Quote

Old   May 11, 2007, 15:02
Default Re: Editing Time in Result files
  #4
Erich
Guest
 
Posts: n/a
Hello Robin,

Thanks for the effort, I thought you might be the one to respond.

  Reply With Quote

Old   May 14, 2007, 21:16
Default Re: Editing Time in Result files
  #5
Omer
Guest
 
Posts: n/a
I guess you already got what you were looking for. But if you are running a transient analysis in ANSYS structure by applying pressure from CFX as loadsteps, with a uncoupled approach. You can choose to specify any time for each of these loadsteps. Hence giving you a lot of flexibility.
  Reply With Quote

Old   May 15, 2007, 18:17
Default Re: Editing Time in Result files
  #6
Erich
Guest
 
Posts: n/a
Hello Omer,

How would I specify a time step for each loadstep? When I import the CFX solution file I must pick a time step from the result file. Is there a way to pick a time step value from your result file and redefine what time Ansys Workbench uses for that pressure?

Thanks for your input.

  Reply With Quote

Old   May 15, 2007, 22:51
Default Re: Editing Time in Result files
  #7
Omer
Guest
 
Posts: n/a
Well, we can define loadsteps with our own timesteps in our basic ANSYS structural package. But doing it with Workbench is a whole different question. And I would myself appreciate if someone would throw some light around on doing the transient structural problem in Workbench 10's Simulation.
  Reply With Quote

Reply


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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 07:55
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
Read Result Files or User Defined Result Aquilaris ANSYS 0 February 9, 2011 06:25
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 01:41.