Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Multiple periodicity definitions are detected. › Reply To: Multiple periodicity definitions are detected.
February 27, 2023 at 1:34 pm
Federico
Ansys Employee
Hello,
Multiple periodicity can be enabled by inserting a Custom Journal task in the Watertight geometry workflow. Here's a sample of the commands to enter:
(define source-id 47)
(define target-id 48)
(ti-set-size-field-periodicity "translational" '(0 25 0))
(ti-menu-load-string (format #f "~%/boundary recover-periodic-surfaces translational auto ~a ," source-id))
(define source-id 49)
(define target-id 50)
(ti-set-size-field-periodicity "translational" '(-30 0 -30))
(ti-menu-load-string (format #f "~%/boundary recover-periodic-surfaces translational auto ~a ," source-id))
(enable-feature 'allow-multiple-periodicity)
Note that you will need to find the corresponding source/target ids for the corresponding faces in your setup and define the appropriate periodicity. The example above has 2 translational periodicity with vectors (0 25 0) and (-30 0 -30).
I hope this helps!
Federico