Тёмный

Scaling, translating and rotating your mesh in OpenFOAM with the command 'transformPoints' 

József Nagy
Подписаться 25 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

22 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@mohamedshatarah7264
@mohamedshatarah7264 4 месяца назад
Thank you so much, sir. Your videos are very helpful.
@qwertyman9560
@qwertyman9560 2 года назад
Thanks a ton, all it took was 2 minutes, problem solved!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
Great
@francootaola9172
@francootaola9172 4 года назад
hello just an small detail to add (someone commented too..) surfaceTransformPoints has almost (i say almost as it does not have the decompose option) that transformPoints but it is for the surface mesh (.stl) :) if anyone is looking for that is nice to know
@oleksiyyefimenko3299
@oleksiyyefimenko3299 3 года назад
Thank you! Useful!
@kisahofflanerdansupport1098
thanks mr jozef for the video. How do you set for the base case i.e. getting 0, constant, and system folder and how to process the .obj file become the polymesh data so that we can open the .foam file?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
Check my other videos on how to set up cases.
@hopeilyPassion
@hopeilyPassion 3 года назад
Thank you!
@bozhang1326
@bozhang1326 3 года назад
Hi Jozsef, thanks for your detailed demonstration. Could you please give me a hint on how to rotate a specific part of my mesh? Thanks!
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
I don't know what you mean by specific part of your mesh, but transformPoints -help may help
@vishalperera1954
@vishalperera1954 2 года назад
Hi, is there a way to transform the points and keep it fixed and saved onto that location. There is an STL file, which, when I import, does not coincide with the origin of the blockMesh.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 2 года назад
You can also translate the mesh with transformPoints.
@samikmaiti9339
@samikmaiti9339 Год назад
Can I rotate a simple block mesh?
@mathiassnderskov7214
@mathiassnderskov7214 5 лет назад
Hi Jozsef, thanks for the video. I work with OF for urban wind comfort. I was thinking if its possible to "cut out" a proposed building and insert another building proposal in it's place, without having to remesh the entire context. Thanks, Mathias
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
With the new overset mesh feature in OpenFOAM it should be possible.
@aoranwang9981
@aoranwang9981 3 года назад
Nice and useful video! vielen Dank! I have a question for the sets after scaling: I want to run a simulation in micrometer scale. I did blockMesh and snappyHexmesh all in default(in meter scale) and had transferred all the points into um scale, these are all ok. unfortunately, after running I found an unacceptable result. I think the reason is I should also change the set on boundary conditions and time-steps or fvsolutions? If I have to do this, is there any rules? All things times 1e-6?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
You have to enter everything in SI units. Maybe you added an inlet velocity of x um/s but instead you have to use x 1e-6 m/s. Possibly this could be it. But difficult to tell.
@lukasf2648
@lukasf2648 5 лет назад
Good video. Is there any tool available you know about which can rotate fields which are located in the postProcessing folder as well? (e.g. fields from a specified surface written out at specific time steps)
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
No, unfortunately I do not know of any tool.
@InaamaliMalik
@InaamaliMalik Год назад
Hi Jozsef, thank you for the interesting content. I have a question to ask: is it possible to translate mesh in between solution, e.g. I complete 0.8 s simulation, and then I translate the mesh, and re-run the simulation for another 0.8 s, with a total simulation of 1.6 s. Is is possible ?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
I am not 100% what you mean, but I guess so. You have to map your results.
@InaamaliMalik
@InaamaliMalik Год назад
@@OpenFOAMJozsefNagy thanks a lot, I tried using mapFields and it worked after a few attempts.
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy Год назад
@@InaamaliMalik Great!
@mtom798
@mtom798 4 года назад
Hello Jósef, is it possible to rotate a mesh made with blockMesh? I want to rotate the pipeCyclic tutorial by 180 degrees in the z-axis
@mtom798
@mtom798 4 года назад
It is possible, I had to run blockMesh first
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 4 года назад
@@mtom798 transformPoints -help will give you the possible solutions.
@sushrutkumar6198
@sushrutkumar6198 5 лет назад
Hello Jozsef, saw your video. I want to divide my inlet patch into 3 different patches to assign different BC. Is there any utility for this? Also I am using blockMesh for generating my mesh.
@apotl8584
@apotl8584 5 лет назад
Sushrut you should define your inlet by three separate squares (or wtv shape you want) and at your 0 file in u define the velocity at its square
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@apotl8584 This is the best way to do it, yes. You can use surfaceToPatch to select only parts of the boundary with an STL file.
@apotl8584
@apotl8584 5 лет назад
hello, thank you for the video, it made me realise that there might be a way of translating/rotating only the products of the snappyhexmesh without moving the boundary volume. i tried the surfaceTransformPoints command but it just moves my stl, which in retrospect i should have anticipated. Do you know of any ways you can achieve that?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
So you only want to move the inner boundaries of your mesh created with snappy and not your original boundaries from blockMesh?
@apotl8584
@apotl8584 5 лет назад
József Nagy József Nagy yes, exactly. To give some context, we have a formula student car and at some point in our research we need to test the car in various heights from the road, so by just moving the inner boundaries we could save a lot of computational time. Otherwise we would have to crreate a mesh for the same geometry around 10 times ( i suppose the same principle will apply for the roll and pitch )
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@apotl8584 The question is, how big the movement is compared to the actual geometry. The mesh might be morphed in a strong way and then your cell quality will suffer.
@apotl8584
@apotl8584 5 лет назад
@@OpenFOAMJozsefNagy the movement would be a maximum of 20 millimeters while the geometry is around (2.5 , 1.5 ,1.2 ) in meters in the x,y,z axis accordingly. I suppose that an evaluation of the results would be in order, assuming the mesh movement is feasible
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 5 лет назад
@@apotl8584 Then check out in your OpenFOAM installation in tutorials/mesh/moveDynamicMesh the examples. Maybe they can help you.
@ztdep
@ztdep 3 года назад
how to transform the stl to your mesh points?
@OpenFOAMJozsefNagy
@OpenFOAMJozsefNagy 3 года назад
I would never do that as STL consists of triangles and the quality of the cells would never be good for a CFD simulation. STL is only there as a guide for hex dominant meshers to do the job,
Далее
Checking the mesh quality in OpenFOAM
11:46
Просмотров 14 тыс.
«По каверочку» х МУЗЛОФТ❤️
00:21
O’zim bilib ketvotudima😅
01:00
Просмотров 994 тыс.
How to create your first mesh with cfMesh - tutorial
26:54
Meshing STL Using snappyHexMesh in OpenFOAM
41:46
Просмотров 7 тыс.
3D Gaussian Splatting! - Computerphile
17:40
Просмотров 136 тыс.
What the h*ll is OpenFOAM? Explained with a PIZZA!
14:38
OpenFOAM blockMesh - Meshing an Airfoil
8:54
Просмотров 19 тыс.