It looks like you're new here. If you want to get involved, click one of these buttons!

- All Categories 2.3K
- Chat 494
- ACT Study Group 5
- Azimuth Math Review 6
- MIT 2020: Programming with Categories 53
- MIT 2020: Lectures 21
- MIT 2020: Exercises 25
- MIT 2019: Applied Category Theory 339
- MIT 2019: Lectures 79
- MIT 2019: Exercises 149
- MIT 2019: Chat 50
- UCR ACT Seminar 4
- General 64
- Azimuth Code Project 110
- Drafts 1
- Math Syntax Demos 15
- Wiki - Latest Changes 1
- Strategy 110
- Azimuth Project 1.1K

Options

Created stub for finite elements.

I'll create some stubs about basic computational methods and abuse them as my personal labbook - the last weeks I've been scouting around to find literature and libraries that could help solving the most basic problems that one faces when one starts a GCM from scratch. As expected, the amount of material is immense, diverse, and none of it is of immediate use. Anyway, I'll need some space to take notes, or else I'll become completely buried...

## Comments

Cool that u started this ! I read your GCM page and saw u have GESM which I also have on Computational science I don't care if its in several places but just "bookmarking" it, if someone else do. Did u see MIT GCM btw and I got all my info from Real Climate data sources and software tools

`Cool that u started this ! I read your GCM page and saw u have GESM which I also have on [[Computational science]] I don't care if its in several places but just "bookmarking" it, if someone else do. Did u see MIT GCM btw and I got all my info from [Real Climate data sources and software tools](http://www.realclimate.org/index.php/data-sources)`

Didn't know about the second page you link to, do have have that one on the wiki already?

`Didn't know about the second page you link to, do have have that one on the wiki already?`

Yes but only as a link on Computational Science .

`Yes but only as a link on [[Computational Science]] .`

A user named "Victor Calo" has answered a question I asked on the page finite elements, namely where the names "stiffness matrix" and "load vector" come from. I think I can use the buzzwords to look for references, or if he likes to, we can pick up the conversation here on the forum.

`A user named "Victor Calo" has answered a question I asked on the page [[finite elements]], namely where the names "stiffness matrix" and "load vector" come from. I think I can use the buzzwords to look for references, or if he likes to, we can pick up the conversation here on the forum.`

Tim,

learning about FEM (Finite Elements Methods) is always useful; there is a lot of interesting math from deep Banach spaces to very practical numerical linear algebra involved. However, picking up on your phrase

may I warn you not to lose the forest for the trees? If you really want to start a GCM from scratch (a noble goal; most people involved in GCMs have a large existing code base, so there is little incentive to start over, and a considerable one not to, yet these code bases are old, riddled with assumptions and compromises, and generally inscrutable) you should look at tools on as a high a level as possible. Starting with FEM is imo too far down. There are systems where you can specify the analytic equations, and leave discretization to the system. One that I've come across (but have not actually used) is Fenics. Maybe the approach to a GCM is to find the equations you want to model, and the basic idea of how to model them, and then refine down, rather than build up. Postpone design decisions as long as possible.

`Tim, learning about FEM (Finite Elements Methods) is always useful; there is a lot of interesting math from deep Banach spaces to very practical numerical linear algebra involved. However, picking up on your phrase > when one starts a [[GCM]] from scratch may I warn you not to lose the forest for the trees? If you really want to start a GCM from scratch (a noble goal; most people involved in GCMs have a large existing code base, so there is little incentive to start over, and a considerable one not to, yet these code bases are old, riddled with assumptions and compromises, and generally inscrutable) you should look at tools on as a high a level as possible. Starting with FEM is imo too far down. There are systems where you can specify the analytic equations, and leave discretization to the system. One that I've come across (but have not actually used) is Fenics. Maybe the approach to a GCM is to find the equations you want to model, and the basic idea of how to model them, and then refine down, rather than build up. Postpone design decisions as long as possible.`

Victor wrote:

Since GCMs have millions of LoC and a single person will on average produce between 10 and 20 LoC/day, it is easy to see that a single person won't be able to program a GCM. But the question of "how would I do it" is very useful for my quest to better understand GCM, including programming solutions to toy problems.

Nevertheless I think that building a GCM from scratch using modern techniques and principles of software engineering would be a very useful project, but I'm sure that it won't be done by people in academia. Professors are too busy and too important to do it, and PhD-candidates and postdocs need publishable results within months, so there is no one left with both the time, energy, persistence and capability to do it.

I'm not so sure about this. I think that modelling fluid flow for the atmosphere and the oceans on earth has other problems than the usual applications of FEM and similar methods in engineering.

I started about the equations - various approximations to the Navier-Stokes equations etc. - on this page: Atmospheric and oceanic fluid dynamics. Since I try to understand what people have already done, I'd say my approach is rather poking around instead of bottom up or top down.

`Victor wrote: <blockquote> <p> If you really want to start a GCM from scratch... </p> </blockquote> Since GCMs have millions of LoC and a single person will on average produce between 10 and 20 LoC/day, it is easy to see that a single person won't be able to program a GCM. But the question of "how would I do it" is very useful for my quest to better understand GCM, including programming solutions to toy problems. Nevertheless I think that building a GCM from scratch using modern techniques and principles of software engineering would be a very useful project, but I'm sure that it won't be done by people in academia. Professors are too busy and too important to do it, and PhD-candidates and postdocs need publishable results within months, so there is no one left with both the time, energy, persistence and capability to do it. <blockquote> <p> Starting with FEM is imo too far down. </p> </blockquote> I'm not so sure about this. I think that modelling fluid flow for the atmosphere and the oceans on earth has other problems than the usual applications of FEM and similar methods in engineering. <blockquote> <p> Maybe the approach to a GCM is to find the equations you want to model, and the basic idea of how to model them, and then refine down, rather than build up. </p> </blockquote> I started about the equations - various approximations to the [[Navier-Stokes equations]] etc. - on this page: [[Atmospheric and oceanic fluid dynamics]]. Since I try to understand what people have already done, I'd say my approach is rather poking around instead of bottom up or top down.`