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

Entries for March 2013

Register Blogs Members List Search Today's Posts Mark Forums Read

In this blog, quick reference notes about OpenFOAM are posted in a form of a summary to address a specific topic per post, which I think could be helpful as a reminder for my Alzheimer condition
Old

OpenFOAM Installation for Multiple Users

Posted March 9, 2013 at 09:26 by Hisham (Notes for OpenFOAM!)
Updated March 10, 2013 at 10:47 by Hisham

If OpenFOAM was installed on a single user account using the OpenCFD binaries then for another user to have access to it is very simple. All one needs to do is to add an alias of the installation in the new user's .bashrc file

Code:
OFver='source /opt/openfoamver/etc/bashrc'
If, on the other hand, OpenFOAM (or OpenFOAM-ext) was compiled on a user account (say the user name is MrX) and a new user (MrY) wants to use the same installation, then:

1. MrX must make sure...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 844 Comments 2 Hisham is offline Edit Tags
Old

Floating Point Math in Bash

Posted March 6, 2013 at 14:35 by Hisham (Notes for OpenFOAM!)

This post is copied from: http://www.linuxjournal.com/content/...oint-math-bash
Floating Point Math in Bash, By Mitch Frazier

To use floating point arithmetic in Bash one can source this script (i.e. source floatSupport.sh). The floatSupport.sh is:

Code:
#!/bin/bash 
# 
# Floating point number functions. 

##################################################################### 
# Default scale used by float functions.
...
Hisham's Avatar
Senior Member
Posted in Uncategorized
Views 584 Comments 0 Hisham is offline Edit Tags

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