Installation/Working with the Shell

From OpenFOAMWiki
< Installation
Revision as of 12:35, 9 September 2012 by Wyldckat (Talk | contribs)

1 Introduction

This page attempts to introduce the reader to getting to know what a shell is and how said shells work in terminals or consoles.

On a second part, introduces the reader to getting to know how to use OpenFOAM in said shells.

The text may seem rather informal, so feel free to improve this wiki page!

1.1 Learning how to use a shell

Well, this section will seem to be rather lazy to you, but it's best to point the reader to one of the best tutorials there is on this subject, namely: Learning the shell

There you'll learn all of the necessary basics on how to use the shell to your benefit. Additionally, here are a few more essential hints:

  • Today's terminal/consoles used in modern Linux Distributions have interactive mouse and keyboard controls. You can find out which are they by checking the menus on them, as well as learning from there some of the keyboard shortcuts you can use.
  • Some examples of keyboard shortcuts:
    • Ctrl+Shift+C - Copy selection from the terminal/console window.
    • Ctrl+Shift+V - Paste what's on the clipboard memory, to the terminal's shell.
    • Shift+Insert - Same as the previous command, namely it pastes what's on the clipboard.

2 OpenFOAM Environment Variables

TODO: ...

3 Advanced Topics

3.1 OpenFOAM Shell Environment

TODO: ... copy stuff from my blog post: http://www.cfd-online.com/Forums/blogs/wyldckat/931-advanced-tips-working-openfoam-shell-environment.html

3.2 Searching for files

TODO: ...