Dear Support Team,
For example, I have five phases of embankment staged construction with Plastic calculations:
After successful calculation I would like to calculate the same phase sequence (the same five stages), but with Consolidation type of calculation (or another activated structures). An alternative solution, like this:
Maybe, it is not very difficult for five phases, but it can be an issue to set the same 15–20 phases manually.
Could you please inform me whether it is possible to copy phase sequence?It is interesting to copy activated geometry and phase settings. Maybe we have possibilities of regenerate, set, groupfiltered and apply options for optimisation.
Great thanks in advance.
Dear Rushan,
This case can be easily handled using Python scripting.An example of code can be found below (hopefully it will be uploaded with correct indentation):
# for every phase in the projectfor parent in g_i.Phases[:]: # if it's a plastic phase if parent.DeformCalcType == parent.DeformCalcType.plastic: # create new child phase newphase = g_i.phase(parent) # set it to safety newphase.DeformCalcType = newphase.DeformCalcType.consolidation
Answer Verified By: Rushan Gizzatullin
Dear Stefanos,
I've got the same question and I simply want to create a new phase sequence.
can I directly create a file as follows:
for parent in g_i.phases[:]:
newphase = g_i.phase(parent)
thanks a lot!
Dear Yusha,
When you create a phase starting from another phase any geometry settings are copied from the parent phase. Any phase configurations are set depending on the case, i.e. default is Plastic phase with the available options this type offers.
However, with Python you can easily, query the settings of the parent phase and set them accordingly to any child phase.
If you still have issues with this process, please submit a service request.
Then, one of our support engineers can help you in detail: https://apps.bentley.com/srmanager/ProductSupport
i have a squence of 2 phases
and i want to repeat this sequance for 500 time
exemple phase 1
phase 2
and again phase 1 then phase 2.
how can i do so please?
Dear Bahia,
From your description, it is not entirely clear what the parent of Phase_1 will be each time.
Are all duplicate phases of Phase_1 starting from InitialPhase or you want the new_Phase_1 to start from previous_Phase_2?
I have a horizontal moving load,
the first phase should be inward and 2nd phase should be outward. so I activated the inward load in phase 1 and deactivate the outward load in phase, and in phase 2 the contrary activates outward and deactivate inward
and I have to repeat these loading cases for 500 times.
thanks
For this, you need to perform an iteration as the one described below. As you can see here this is done with the range function, but you can extend this process in a function you create by making the number of iterations as a variable.
The example below will run 10 times and will create 5 sequences of two phases, ensuring the correct parent phase is set. Note that the two reference phases should be correctly configured, before running the code below.
If you need more assistance with this please submit a service request: https://apps.bentley.com/srmanager/ProductSupport
for i in range(10): g_i.phase(g_i.Phases[-2]) g_i.Model.CurrentPhase = g_i.Phases[-1] g_i.Phases[-1].PreviousPhase = g_i.Phases[-2]
I suppose, there are not so many users in our country who use command line in PLAXIS (all the more Python). On the other hand I realise that it is powerful instrument for optimisation and automatisation of routine process. In this case PLAXIS has a great advantage in comparasing to other competitors. That's why I try to provide this information to our clients.
. .