Monthly Archives: April 2013
When importing certain modules from matlibplot such as matplotlib.animation, you may get the following warning message: UserWarning: Module dap was already imported from None, but /usr/lib/python2.7/dist-packages is being added to sys.path __import__(‘pkg_resources’).declare_namespace(__name__) Method to remove the warning: Add dap as … Continue reading
This method is useful when need to process cfx post in batch. For example, in transient simulations, you could export information on an user-defined polyline at every timestep to .csv files automatically by using this method. Procedures: 1. Open CFX-POST … Continue reading
To install a theme: Download it and decompress it in ~/.themes. To install an applet: Download it and decompress it in ~/.local/share/cinnamon/applets.
From a post in Linux Mint forums: “I don’t know anything about your monitor problems …. but for the problem of the large icons on the panel: Try going to Menu > Preferences > Cinnamon Settings > Panel Check the … Continue reading
Rotating Gaussian distribution time averaged
See code in http://codepad.org/3I2wQrGF it’s a copy from internet: http://stackoverflow.com/questions/3320311/fill-outside-of-polygon-mask-array-where-indicies-are-beyond-a-circular-bounda
When using gcc fortran 4.6 to compile a fortran code with sequential reading, the following error occurs: Fortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE Use fort77 command to compile it, … Continue reading