Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-30 Thread Wolfgang Bangerth
On 10/29/22 22:25, ztdepyahoo wrote: When i output the grid to vtk., I found that the coordinates is in float number, how to control the output precision . You can just set the precision on the output stream to which you write the information. This works in essence like this: std::ofstream

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-30 Thread Wolfgang Bangerth
On 10/28/22 21:00, Technical Forex wrote: I read in the uvn file generated by salome mesh with gridin. But it gives me the following error . Attachment please find the unv file. I couldn't find what caused the error. terminate called after throwing an instance of

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-29 Thread ztdepyahoo
Thanks a lot.  When i output the grid to vtk., I found that the coordinates is in float number, how to control the output precision .Regards ztdepyahooztdepya...@gmail.com

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread Technical Forex
I read in the uvn file generated by salome mesh with gridin. But it gives me the following error . Attachment please find the unv file. I couldn't find what caused the error. terminate called after throwing an instance of 'dealii::StandardExceptions::ExcIO' what():

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread Wolfgang Bangerth
On 10/28/22 10:31, ztdepyahoo wrote: I want to set the boundary coordinates of the GridGenerator::hyper_cube(triangulation). Well, have you looked at the documentation of the function? https://dealii.org/developer/doxygen/deal.II/namespaceGridGenerator.html#acea0cbcd68e52ce8113d1134b87de403

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread ztdepyahoo
I want to set the boundary coordinates of the GridGenerator::hyper_cube(triangulation).  ztdepyahooztdepya...@gmail.com Replied Message

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread Wolfgang Bangerth
On 10/28/22 09:54, ztdepyahoo wrote: Thanks, how to set the 4 corner nodes coordates of  a square domain. This is too short of a question. You've got to be more clear about what you're asking since I have no idea what the problem is :-) Best W. --

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread ztdepyahoo
Thanks, how to set the 4 corner nodes coordates of  a square domain.  ztdepyahooztdepya...@gmail.com Replied Message

Re: [deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread Wolfgang Bangerth
On 10/28/22 04:37, ztdep...@gmail.com wrote: ** I am running the first example "first_grid". I want to know does deal.ii support the defination of the boundary name and output  it to a readable file. I have output the grid to ucd  file , but no boundary infors are stored in the ucd file.  

[deal.II] how to set the boundary name day and output to the file.

2022-10-28 Thread ztdep...@gmail.com
I am running the first example "first_grid". I want to know does deal.ii support the defination of the boundary name and output it to a readable file. I have output the grid to ucd file , but no boundary infors are stored in the ucd file. Could you please give me some advices. -- The