|
[Sponsors] |
May 10, 2007, 13:15 |
Editing Time in Result files
|
#1 |
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, 12:33 |
Re: Editing Time in Result files
|
#2 |
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, 13:01 |
Re: Editing Time in Result files
|
#3 |
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, 15:02 |
Re: Editing Time in Result files
|
#4 |
Guest
Posts: n/a
|
Hello Robin,
Thanks for the effort, I thought you might be the one to respond. |
|
May 14, 2007, 21:16 |
Re: Editing Time in Result files
|
#5 |
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, 18:17 |
Re: Editing Time in Result files
|
#6 |
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, 22:51 |
Re: Editing Time in Result files
|
#7 |
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.
|
|
|
|
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 |