Quantcast
Channel: Intelligent Easy i.e.Sensor & Robot
Browsing all 40 articles
Browse latest View live

c and cpp pitfalls, mixing signed and unsigned integer, implicit conversion

1. mixing unsigned and sign int is a bad idea first of all, remember: signed int types will be implicitly converted to unsigned if sizeof(signed int types) == sizeof(unsigned int types) Google C++...

View Article


Cmake cheatsheet

#Cmake cheat sheet in markdown [crayon-585fc6b576b12877481477/]  

View Article


solved Fenics (2016.2) cpp code compiling error on ubuntu 16.04

for any expression in Expression for Fenics 2016.2( installed from PPA ) expr = """ x[2]> {} ? {}:{}""".format(disc_zmax, lambda_p, lambda_d) print(expr) K = Expression(expr,...

View Article

FreeCAD compatible Fenics mshr geometry building

Fenics geometry building API is based on CGAL, it can import CAD, but can not export CAD file like step. Here is a solution, not fully tested. This file may be further developed in github....

View Article

from gmsh geo file to fenics mesh with subdomain and boundary facet exported

[crayon-593082e0b8c8f534972629/]  

View Article


BoundaryLayer setup for Gmsh 3D meshing

Precise control of the thickness of the first cell normal to wall, is crucial for  turbulence models like k-epsilon, k-omega. Before moving to turbulence flow simulation for CFD workbench of FreeCAD 2D...

View Article

using cloud space as a private git repo

[answer from stackoverflow] It is absolutely possible – what you probably want to do is create a “bare” git repository in folder Y (git init --bare) and then add that file location as a remote:...

View Article

Add visual studio command prompt to windows explorer context menu

Recently relised visual studio build tool (with cmake support), enables building windows c++ project without GUI. It is essential to accelerate the testing of cross-platform program. It is convenient...

View Article


I have developed several multi-physics solver based on Fenics and GUI within...

This is also announced in Fenics support forum   Screenshot of FenicsSolver in FreeCAD Dear all, I have developed several multi-physics solver based on Fenics, it is hosted on github:...

View Article


FreeCAD 0.17 + OpenFOAM CFD module now works on windows 10 WSL

after windows 10 2018 april update, it is possible to run my CFD module on FreeCAD 0.17 Limited by my time I can spend on this open source project, I will will make new feature in about half year, but...

View Article

preCICE build and test on Ubuntu 16.04

  please read PDF version for better code highlighting   preCICE build and test on Ubuntu 16.04

View Article

Coupling OpenFOAM with FeniCS for multiphysis simulation (OpenFOAM workshop...

This is my presentation for OpenFOAM workshop 13 presentation, unfortunately, I can not attend the workshop in person. Link to my presentation PDF:...

View Article

export salome mesh to FeNICS mesh

Salome installation download Salome platform 8.5 binary for Ubuntu 16.04 (64bit) Salome-meca is the combination of salome and code_aster (FEA), it is also possible to manually add the Code_saturne...

View Article


Cfd module for FreeCAD can work with external mesh file

http://www.iesensor.com/blog/wp-content/uploads/2018/12/FreeCAD_CFD_using_external_mesh.webm

View Article

Effectively setup multiple monitor layout at startup

This belongs to Research Software Engineering on Linux series Super+P shortcut key can bring up a menu to switch between mirror, single, multiple modes. keep Super key (windows key) pressed on, while P...

View Article


Effectively work with terminal

This belongs to Research Software Engineering on Linux series   get package name for a missing command which can print the program full path for the command, useful if multiple version is installed....

View Article

Effectively work with Nautilus File Manager

This belongs to Research Software Engineering on Linux series   Add new file types into “Create Document” shortcut menu After adding empty or template files into “Template” folder in the user home,...

View Article


Choices and example of wrapping C++ code into Python

In 2019, I started a new project on my github. This project list most popular approaches to wrap C and C++ classes into Python modules. pybind11boost-pythonswigcythoncfficppyy There are codes for C++...

View Article

Prepare and postwork for upgrading Ubuntu LTS from 18.04 to 20.04

This article contains some tips to ease the upgrade LTS in a productivity scenario/work environment. I. preparation and backup Because it is my working Ubuntu, backup is essential before even thinking...

View Article

I’d like to transfer this domain name iesensor.com

It is unlikely I will be entrepreneur in IoT and AI sensor design; I would like to transfer this domain name. Contact me if you are interested...

View Article
Browsing all 40 articles
Browse latest View live