Author Archives: eric
moving EB plotted in python
Rotating Gaussian distribution time averaged
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
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
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
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
Incompatible CFX subroutine & Matlab
If matlab module is loaded, the cfx subroutine can not be included with an error : segment violation.
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
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
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