# Editing Time in Result files

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 10, 2007, 12:15 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

 May 11, 2007, 11:33 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

 May 11, 2007, 12:01 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

 May 11, 2007, 14:02 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.

 May 14, 2007, 20:16 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.

 May 15, 2007, 17:17 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.

 May 15, 2007, 21:51 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post irishdave OpenFOAM Running, Solving & CFD 28 May 28, 2015 13:37 xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33 MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39 Aquilaris ANSYS 0 February 9, 2011 06:25 lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09

All times are GMT -4. The time now is 23:45.