Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Fortran code for projecting a grid on to a surface

  1. Jul 21, 2005 #1
    Does anyone know the fortran code for projecting a grid (cartesian or not) onto a surface?

    Thnx
     
  2. jcsd
  3. Jul 22, 2005 #2
    huh?....do you mean to make your own grid of a finite mesh?
     
  4. Jul 22, 2005 #3
    yes, so that I can project a triangle mesh on to it.
     
  5. Jul 22, 2005 #4
    quad mesh is easier..but i don't have it in fortan.
     
  6. Jul 23, 2005 #5

    PerennialII

    User Avatar
    Science Advisor
    Gold Member

    think might have somewhere or could find a reference or extract from some code, you want it for linears, quads ... ?
     
  7. Jul 23, 2005 #6
    yeah, that'd be great.
     
  8. Jul 23, 2005 #7
    if your willing to do it your self...the equation of a sphere is easy...then you do equal interval divisions along the latitude and longitude. The connecting points for the mesh is an easy pattern for either the quadmesh or trimesh(being alittle complicated then the former).
     
  9. Jul 24, 2005 #8

    PerennialII

    User Avatar
    Science Advisor
    Gold Member

    Ok, I'll look something up.

    yeah, it's actually pretty simple and when not making it as general as possible even more so. One way many routines approach it is element splitting, first make quads and split them to tris while preserving/fulfilling geometry etc. restraints (to simplify it further that is).
     
  10. Jul 27, 2005 #9

    PerennialII

    User Avatar
    Science Advisor
    Gold Member

  11. Jul 27, 2005 #10
    does fortran now have a 3D display or do you have to convert still to matlab or c?
     
  12. Jul 27, 2005 #11

    PerennialII

    User Avatar
    Science Advisor
    Gold Member

    Been under the impression that Fortran and 3D don't really mix ... although I think for 90/95 there is/are some 3D sets which ougth to enable development using solely fortran :confused: .
     
  13. Jul 27, 2005 #12
    Thank you so much!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Fortran code for projecting a grid on to a surface
  1. SNES codes (Replies: 3)

  2. Grid Networking (Replies: 3)

  3. Fortran for beginners (Replies: 12)

  4. IT project (Replies: 0)

  5. Excel code (Replies: 1)

Loading...