Git Product home page Git Product logo

kth_simson_changes's Introduction

********************************************************************************
README file for the Simson code                                     $Rev: 1612 $


Welcome to Simson!
==================
Simson is a code containing a pseudo-spectral solver for the
incompressible Navier-Stokes equations together with pre- and
postprocessing tools. Both direct numerical simulations (DNS) and
large-eddy simulations (LES) are supported.


Copyright and contact
=====================
See COPYRIGHT file.


Content of main directories of Simson
=====================================
bla       - Main program
bls       - Program to generate initial velocity (with or without heat) fields
cmp       - Program to subtract and compare velocity fields
config    - Contains configuration files for different systems
common    - Common subroutines between programs
doc       - Documentation
examples  - Example flow cases
fou       - Program to Fourier transform velocity fields in time
matlab    - Matlab scripts
pamp      - Programs to plot amplitude data from one or more amplitude files
paraview  - Scripts to generate ParaView based animations
pext1     - Program to plot a number of components from an extremum file
pxyst     - Program to do xy statistics plotting
rit       - Program to plot solutions from complete velocity fields
rps       - Program to plot planes
xys_add   - Program to compute xyz statistics


Root directory files of Simson
==============================
config.mk - Includes parameters read by all Makefiles
configure - Script that configures the system and stores the
            configuration in config.mk
COPYRIGHT - Copyright and contact information document
par.f     - Compile time parameters regarding resolution etc.
README    - This document
rules.mk  - Generic Makefile build rules
todo.txt  - A text file including things to correct/fix/add etc.


Installing
==========
The makefiles named Makefile.config should not be edited. Instead, the
script configure should be run. The configure script updates the
config.mk file in the root directory based on analyzes of the system
or on information from a configuration file. Note that there exists a
default config.mk file which can be directly edited and used which
means that it is not necessary to run the configure script.

  ./configure --help


Compiling
=========
Before starting to compile the code the resolution and some other
compile-time parameters have to be chosen for the flow problem that
you want to run. These parameters are fetched from the par.f file
located in the same directory as the application that is about to be
compiled. Note however that there is a template par.f in the root
directory which can be distributed to the relevant directories by
writing

  make dist

Now you can run

  make

which will compile all the programs that are part of the Simson
package. To install the files in the directory based on the $MACHINE
variable type

  make install

To install it to, for example, test/bin directory simply write

  make prefix=test install

From the main directory it is also possible to compile only a specific
tool by writing

  make rit.all

To install rit type

  make rit.install

Note that if the code is not compiled the install directive will also
do that.

Note also that in each directory there are two Makefiles, one named
Makefile.config and one named Makefile. It is the former Makefile that
is being used by the configure script setup. The other Makefile can be
edited and run locally without dependencies from config.mk etc. This
could be convenient, for example, when testing different compiler
options etc.


Running
=======
For more details on how to install, compile and run the code read the manual
located in the doc directory. Also view the examples directory.


********************************************************************************

kth_simson_changes's People

Contributors

ritabratathakur avatar thakurritabrata avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.