Author Archives: eric

moving EB plotted in python

                  Rotating Gaussian distribution time averaged

Posted in Information | Tagged | Leave a comment

A easy way to clip over the area outside a path in matplotlib

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

Posted in Others | Tagged | Leave a comment

gcc fortran error

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

Posted in Linux | Leave a comment

Update jabref from version 2.7 to 2.9

The default version of jabref of Linux Mint and Ubuntu now is 2.7, which can be easily installed from software manager. If want to update to 2.9, a bad method is to download the jabref-2.9.jar and replace the *.jar in … Continue reading

Posted in Linux | Leave a comment

Thermocouple temperature emf converter (Type C thermocouple included) [Python subroutine]

Type C thermocouple is “weird”! Not many people use it and most emf2T converters available online do not include it. Moreover, I cannot find a standard polynomial expression to translate emf to T or vice verse. The following python subroutine … Continue reading

Posted in Others | Tagged | Leave a comment

wxpython

wxpython – A excellent python library for GUI

Posted in Code | Tagged | Leave a comment

Incompatible CFX subroutine & Matlab

If matlab module is loaded, the cfx subroutine can not be included with an error : segment violation.

Posted in CFD, CFX | Leave a comment

Error detected by routine MAKDAT CDANAM = LVAR CDTYPE = INTR ISIZE = 254 CRESLT = OLD

Error detected by routine MAKDAT CDANAM = LVAR CDTYPE = INTR ISIZE = 254 CRESLT = OLD  Current Directory : /FLOW/ALGORITHM/ZN1/SYSTEM/VARIABLES +——————————————————————–+ | An error has occurred in cfx5solve: | | | | The ANSYS CFX solver exited with return … Continue reading

Posted in CFD, CFX | 1 Comment

How to fix “AnyConnect was not able to establish a connection” or “VPN client driver encountered an error” Cisco AnyConnect VPN error messages

This post describes how to fix the following error messages when using Windows 8 Pro: AnyConnect was not able to establish a connection to the specified secure gateway.  Please try connecting again. The VPN client driver encountered an error.  Please … Continue reading

Posted in Others | 6 Comments

Adjusting mesh size in ICEMCFD

1. Choose tab blocking > button pre-mesh params > edge params to set up mesh parameters as shown in the figure below. 2. Adjust nodes number to change mesh size and choose Mesh law to change meshing behavior. Use exponential … Continue reading

Posted in CFD, ICEM CFD | Leave a comment