|
[Sponsors] |
February 12, 2019, 11:17 |
time step and embedding scale
|
#1 |
Member
mohsin
Join Date: Dec 2018
Posts: 52
Rep Power: 7 |
Can anybody tell me difference between embedding scale and base grid size? on what grounds its has to be choosen ? any predefined value are there? & is there any relation between time step and base grid and embedding scale ?
|
|
February 12, 2019, 12:20 |
|
#2 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8 |
Hello Mohsin,
Fixed embedding refines the base grid as follows : cell_size = base_size/ (2^embedding scale). So, for example, if the base grid is 4mm, after refinement with embedding scale of 2, cell sizes are now 1mm in the fixed embedding volume. Embedding scales are chosen as per grid resolution requirements of the user. A suggested way is to open an example case similar to your problem of interest and adopt similar grid settings. Increase the embed scale to have enough resolution within small gaps, near spark regions during spark event, etc. It is recommend to perform a grid independence study to ensure you have adequate refinement. Certain time step limiters are affected by grid sizes : dt_cfl*, dt_move, etc. These dt limiters calculated for each cell reduce as local cell sizes reduce. You would see a corresponding simulation time-step reduction if these refined cells are more influential than the base grid cells. Please refer to our manual for more information. Hope this helps, Sincerely. |
|
February 13, 2019, 14:09 |
|
#3 | |
Member
mohsin
Join Date: Dec 2018
Posts: 52
Rep Power: 7 |
Quote:
|
||
February 13, 2019, 17:47 |
|
#4 |
Senior Member
Kislaya Srivastava
Join Date: Sep 2017
Location: Convergent Science, Northville MI
Posts: 165
Rep Power: 8 |
Hello Mohsin,
The grid sizes are reduced by half and results obtained from the refined mesh are compared with the coarse mesh to observe the difference. If the differences aren't within an acceptable tolerance, you haven't attained grid independent results yet and must switch to finer mesh resolution. An easy way to refine the grid in the entire domain is to set grid_scale value in inputs.in to 1. This would reduce the base grid by half. Increase the value to refine the mesh further. Please refer to our manual for more information on grid control techniques. Increase in run times with reduction in time steps is not always the case. If you're having stability issues and the solver is working hard (too many individual iterations) with your current time steps, smaller time steps might make your case more stable and the solver works less to obtain converging results within an iteration. This could result in overall reduction in run times. Sincerely, |
|
February 14, 2019, 08:22 |
|
#5 | |
Member
mohsin
Join Date: Dec 2018
Posts: 52
Rep Power: 7 |
Quote:
|
||
|
|