Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
changing Geometry by modifying MPHTXT file
Posted 18.01.2010, 12:01 GMT-5 2 Replies
Please login with a confirmed email address before reporting spam
Hi,
I am working on a 2-D ALE model. at a special time step I want to stop the model, change my boundary situation and then continue to run the model. The change I want to made is merging 3 adjacent boundary lines to each other and apply a special boundary condition to the resulted boundary line.
It 's important for me to have a single boundary line instead of three in my new geometry then I can continue my modeling using this new geometry.
I decided to create the new geometry by changing the MPHTXT file of the last geometry. So I terminate the model at a special time step, export analyzed geometry to an MPHTXT file and now I am trying to understand and change this file.
My plan is finding the coordinates and parameter values of three boundary lines among other Manifolds in the MPHTXT file and replace all three with a single manifold. the coordinates of this single manifold would be a combination of the coordinates of the three boundary lines, But I don't have any idea about the way that I should calculate the curve parameters at each point for the new manifold.
According to the MPHTXT file for each point of a manifold I should define three different values: x coordinate, y coordinate and parameter (curve parameter). curve parameter is a value between 0 to 1 in my 2 D modeling.
My question is How I should calculate the curve parameter at each point when I have the coordinates of that point?
Is it possible to change boundary situation and geometry by changing the MPHTXT file or there is a better way?
Thanks,
Atieh
I am working on a 2-D ALE model. at a special time step I want to stop the model, change my boundary situation and then continue to run the model. The change I want to made is merging 3 adjacent boundary lines to each other and apply a special boundary condition to the resulted boundary line.
It 's important for me to have a single boundary line instead of three in my new geometry then I can continue my modeling using this new geometry.
I decided to create the new geometry by changing the MPHTXT file of the last geometry. So I terminate the model at a special time step, export analyzed geometry to an MPHTXT file and now I am trying to understand and change this file.
My plan is finding the coordinates and parameter values of three boundary lines among other Manifolds in the MPHTXT file and replace all three with a single manifold. the coordinates of this single manifold would be a combination of the coordinates of the three boundary lines, But I don't have any idea about the way that I should calculate the curve parameters at each point for the new manifold.
According to the MPHTXT file for each point of a manifold I should define three different values: x coordinate, y coordinate and parameter (curve parameter). curve parameter is a value between 0 to 1 in my 2 D modeling.
My question is How I should calculate the curve parameter at each point when I have the coordinates of that point?
Is it possible to change boundary situation and geometry by changing the MPHTXT file or there is a better way?
Thanks,
Atieh
2 Replies Last Post 22.01.2010, 19:45 GMT-5