CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > COMSOL

Create mesh for 1D geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2020, 12:38
Default Create mesh for 1D geometry
  #1
New Member
 
Natasha
Join Date: Jan 2020
Posts: 7
Rep Power: 6
Natasha is on a distinguished road
Hello,


I'm looking for ways of creating a mesh for a 2D geometry. It's a straight line, the nodes have to be positioned along the x direction and all y-coordinates are zero.

Example: 0 : delx : xend, where delx =0.5, xend = 20.

I have to create the input file in a format that will be compatible for importing in COMSOL.

Any suggestions on how to proceed will be really helpful

Thanks,
Natasha

Last edited by Natasha; February 7, 2020 at 07:28.
Natasha is offline   Reply With Quote

Old   February 7, 2020, 05:18
Default
  #2
Member
 
Brandon
Join Date: Jun 2018
Location: Germany
Posts: 46
Rep Power: 7
kepler123 is on a distinguished road
You say 1D mesh in your title, but you say 2D in your post. I personally have never heard of someone using a 1D mesh for anything useful. Maybe you have some non zero dimension in the Z direction?

If not, then just find out the kind of input COMSOL accepts and generate the actual data using a simple script or in your case even manually.
kepler123 is offline   Reply With Quote

Old   February 7, 2020, 07:33
Default
  #3
New Member
 
Natasha
Join Date: Jan 2020
Posts: 7
Rep Power: 6
Natasha is on a distinguished road
Hi,
Thanks a lot for the response. That was a mistake in the title. I could create the mesh in gmsh.
Natasha is offline   Reply With Quote

Reply

Tags
geometry


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
How to create different mesh for different zone of the geometry msasuzan FLUENT 0 December 22, 2013 19:24
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09


All times are GMT -4. The time now is 08:08.