Hi FOAMing users, may I ask f
Hi FOAMing users,
may I ask for some questions about moving surface points depend on some contours of scalarField.
I attach 2 pics. It looks like motorcycle helmet and color is coresponding with sensitivity map.
And this is the problem. How could I move with every points / elements mesh to normal direction depend on local values of sensitivity map.
I found OpenFOAM tool like 'deformedGeom'. It is good start point. This aplications takes infromation about velocity field and move every points in control domain respect to some 'scale factor * U'.
In this time I can changed velocity field to any other scalar or vector field, but thise steps are not quite correct for me. Results are always horrible.
May I ask you for any hints how implement thise steps:
- find boundary condition 'helmet'
- get values of sensitivity map
- move every helmet's boundary elements respect to 'sensetivityMap * normalVectorOfElement * someScaleFactor'
- write new geometry to typical dir. structure of /constant/polyMesh
In this time, I do not care if volume mesh after morphing will have some negative volume or very bad cells. Primary, I would like get new geometry. After that, I can generate new volume mesh and repeat simulation.
Thank you for any hints.
Hi David, take a look at ht
take a look at http://www.cfd-online.com/OpenFOAM_D...tml?1210274347
I create the morphing according to the diff of two different meshes using deformGeom. Obviously you have to create diffs for every shape vector.
I try other steps to check, wh
I try other steps to check, where could be any mistake.
In previous source code for morphing I attached block, which convert x,y coordinates of cylinder to angular construction. So I get file with:
#angle ----- sensitivityMap
When I plot data, graph look like some tic-tac-noise curve. So I check list of x-coord, y-xoord and sensitivity map in this cordinate and value, which have to be there was in another point.
Now, I can only guess: there is some mistake with sorting point and value in those points.
Could You help me?
Hi David, did you find your p
did you find your problem?
|All times are GMT -4. The time now is 19:14.|