Using Phoenix FD 2.0
I would like to ask for confirmation if my understanding of the Maximal step and SPF upper and lower limit parameters is correct:
* For simplicity lets imagine we have a grid cell size of 1cm
* We set maximal step to 2 (meaning up to 2 cells can be traversed by fluid per simulation step)
* Based on gravity, discharge rate and other various parameters Phoenix FD calculates what the nominal fluid speed should be (let’s say around 10cm per frame)
* Phoenix FD would then calculate the SPF (steps per frame) to be 5 (10cm per f / 2cells(cm) per step)
* Therefore the OTS (optimal time step) = 1/SPF = 1/5 = 0.2 (assuming the OTS is simply the time taken for one simulation cycle)
* If the fluid becomes faster than expected, say 100cm per frame, we would need 50 simulation steps to describe this movement which may take too long to simulate.
* Suppose we set the SPF upper limit to 10. During simulation Phoenix FD would see that this fast fluid requires more than our original SPF of 5 and would use up to SPF 10 but this still only allows for up to 20cm per frame. The only option is to automatically increase the Maximal step to at least 10 cells.
* With now 10 cells per simulation step at an allowed 10 steps per frame we can achieve 100cm per frame.
* If the fluid becomes very slow, say 1cm per frame then Phoenix FD will recognise that our original SPF 5 is too much to describe this motion (a wasteful number of steps to calculate).
* Trouble is that even an SPF of 1 is still double the 1cm per frame we need.
* According to the help files if the OTS is limited to the frame duration (i.e. SPF of 1) we could get problems with undesired diffusion so clearly we don’t want to let the SPF go that low.
* Adding an SPF lower limit of say 3 would seem reasonable.
* This would mean that Phoenix FD would use a minimum of 3 steps per frame for this slow fluid and then automatically reduce the Maximal step to around 0.33 cells.
* With now 0.33 cells per simulation step at an allowed 3 steps per frame we get around 1cm motion per frame.
Thanks for any and all help to confirm this!
I would like to ask for confirmation if my understanding of the Maximal step and SPF upper and lower limit parameters is correct:
* For simplicity lets imagine we have a grid cell size of 1cm
* We set maximal step to 2 (meaning up to 2 cells can be traversed by fluid per simulation step)
* Based on gravity, discharge rate and other various parameters Phoenix FD calculates what the nominal fluid speed should be (let’s say around 10cm per frame)
* Phoenix FD would then calculate the SPF (steps per frame) to be 5 (10cm per f / 2cells(cm) per step)
* Therefore the OTS (optimal time step) = 1/SPF = 1/5 = 0.2 (assuming the OTS is simply the time taken for one simulation cycle)
* If the fluid becomes faster than expected, say 100cm per frame, we would need 50 simulation steps to describe this movement which may take too long to simulate.
* Suppose we set the SPF upper limit to 10. During simulation Phoenix FD would see that this fast fluid requires more than our original SPF of 5 and would use up to SPF 10 but this still only allows for up to 20cm per frame. The only option is to automatically increase the Maximal step to at least 10 cells.
* With now 10 cells per simulation step at an allowed 10 steps per frame we can achieve 100cm per frame.
* If the fluid becomes very slow, say 1cm per frame then Phoenix FD will recognise that our original SPF 5 is too much to describe this motion (a wasteful number of steps to calculate).
* Trouble is that even an SPF of 1 is still double the 1cm per frame we need.
* According to the help files if the OTS is limited to the frame duration (i.e. SPF of 1) we could get problems with undesired diffusion so clearly we don’t want to let the SPF go that low.
* Adding an SPF lower limit of say 3 would seem reasonable.
* This would mean that Phoenix FD would use a minimum of 3 steps per frame for this slow fluid and then automatically reduce the Maximal step to around 0.33 cells.
* With now 0.33 cells per simulation step at an allowed 3 steps per frame we get around 1cm motion per frame.
Thanks for any and all help to confirm this!
Comment