Giter VIP home page Giter VIP logo

feenox's People

Contributors

gtheler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

feenox's Issues

Petsc error

I am trying to install feenox on Ubuntu-20.04.

I followed the installation process detailed on the website using Git repository.
I get the following error when run 'make'

In file included from ./feenox.h:69,
from ./feenox.c:22:
/usr/lib/petscdir/petsc3.12/x86_64-linux-gnu-real/include/petscsys.h:167:6: error: #error "PETSc was configured with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h"

Could someone please help me figure out how to fix this?

The BLAS library used by PETSc is not found by GSL in Fedora

The GNU GSL needs a BLAS implementation to work. To enhance flexibility and allow different BLAS implementations to be used, even though it provides a libgslcblas it is not automatically linked when linking against libgsl.

Since PETSc is already linked agains a BLAS implementation and chances are that this implementation is more efficient than libgslcblas, configure does not link against libgslcblas if PETSc is found. This works well in Debian but does not work in Fedora, that uses libflexiblas that exports the symbol cblas_dgemm that configure searchs for but it is not found during linking.

Source: #4

Trouble With Orthotropic Branch

After updating the feenox files, I recompiled and began working with the orthotropic-expansion branch earlier this week. When I restarted my computer this morning, I was not able to use it. I tried updating the files again and recompiling, but am running into the same issue:

james@james-VirtualBox:~/Documents/feenox$ git checkout orthotropic-expansion
Already on 'orthotropic-expansion'
Your branch is up to date with 'origin/orthotropic-expansion'.
james@james-VirtualBox:~/Documents/feenox$ feenox
FeenoX v0.1.59-gbf85679-dirty 
a free no-fee no-X uniX-like finite-element(ish) computational engineering tool

usage: feenox [options] inputfile [replacement arguments]

  -h, --help         display usage and commmand-line help and exit
  -v, --version      display brief version information and exit
  -V, --versions     display detailed version information
  -s, --sumarize     list all symbols in the input file and exit

Instructions will be read from standard input if “-” is passed as
inputfile, i.e.

    $ echo "PRINT 2+2" | feenox -
    4

Report bugs at https://github.com/seamplex/feenox or to [email protected]
Feenox home page: https://www.seamplex.com/feenox/

I am not sure if this information helps, but when I was recompiling I ran "make check" and four checks failed including tests/two-cubes-orthotropic.sh:

James@james-VirtualBox:~/Documents/feenox$ make check
Making check in src
make[1]: Entering directory '/home/james/Documents/feenox/src'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/james/Documents/feenox/src'
make[1]: Entering directory '/home/james/Documents/feenox'
cp -r src/feenox .
make  check-TESTS
make[2]: Entering directory '/home/james/Documents/feenox'
make[3]: Entering directory '/home/james/Documents/feenox'
XFAIL: tests/abort.sh
PASS: tests/algebraic_expr.sh
PASS: tests/beam-modal.sh
PASS: tests/beam-ortho.sh
PASS: tests/builtin.sh
PASS: tests/cylinder-traction-force.sh
PASS: tests/default_argument_value.sh
PASS: tests/expressions_constants.sh
PASS: tests/expressions_variables.sh
PASS: tests/expressions_functions.sh
PASS: tests/exp.sh
PASS: tests/i-beam-euler-bernoulli.sh
FAIL: tests/iaea-pwr.sh
PASS: tests/iterative.sh
PASS: tests/fit.sh
PASS: tests/function_algebraic.sh
PASS: tests/function_data.sh
PASS: tests/function_file.sh
PASS: tests/function_vectors.sh
PASS: tests/integral.sh
PASS: tests/laplace2d.sh
PASS: tests/materials.sh
PASS: tests/mesh.sh
PASS: tests/moment-of-inertia.sh
PASS: tests/nafems-le1.sh
FAIL: tests/nafems-le10.sh
PASS: tests/nafems-t1-4.sh
PASS: tests/nafems-t2-3.sh
PASS: tests/neutron_diffusion_src.sh
PASS: tests/neutron_diffusion_keff.sh
PASS: tests/parallelepiped.sh
PASS: tests/point-kinetics.sh
PASS: tests/print.sh
PASS: tests/thermal-1d.sh
PASS: tests/thermal-2d.sh
PASS: tests/trig.sh
FAIL: tests/two-cubes-isotropic.sh
FAIL: tests/two-cubes-orthotropic.sh
PASS: tests/vector.sh
============================================================================
Testsuite summary for feenox v0.1.284-g8076044
============================================================================
# TOTAL: 39
# PASS:  34
# SKIP:  0
# XFAIL: 1
# FAIL:  4
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email protected]
============================================================================
make[3]: *** [Makefile:1101: test-suite.log] Error 1
make[3]: Leaving directory '/home/james/Documents/feenox'
make[2]: *** [Makefile:1209: check-TESTS] Error 2
make[2]: Leaving directory '/home/james/Documents/feenox'
make[1]: *** [Makefile:1706: check-am] Error 2
make[1]: Leaving directory '/home/james/Documents/feenox'
make: *** [Makefile:986: check-recursive] Error 1

Multiple volumes and materials

Hi

Would be great if you could add an example (.fee file) of how to specify multiple volumes and materials and then solve a problem. Also how to extract stress results per volume.

I have a multi-body CAD part as input and boundary condition can span faces across bodies.

Regards
SK

Unexpected behavior of VECTOR values assignment

Description

When initializing a vector one can assing the values to the vector in different (presummably wrong) ways and some of them will silently pass as ok but not with the expected behavior.

VECTOR x1 SIZE 2
VECTOR x2 SIZE 2
VECTOR x3 SIZE 2
VECTOR x4[2] DATA 1/sqrt(2) 1/sqrt(2)
 
x1 = {1/sqrt(2), 1/sqrt(2)}
x2 = (1/sqrt(2), 1/sqrt(2))
x3 = 1/sqrt(2) 1/sqrt(2)
 
print "x1= " x1 "\nx2= " x2 "\nx3= " x3 "\nx4= " x4

>>>x1=     0.5     0.5
x2=     0.5     0.5
x3=     0.707107        0.707107
x4=     0.707107        0.707107

Expected Behavior

Either the vectors having assigned the right values or a Syntax error.

Steps to Reproduce

  1. Run the code block in FeenoX.

Additional Information

  • FeenoX version: FeenoX v1.0.64-g8c2e75b
    Build architecture : linux-gnu x86_64
    Compiler version : gcc (Spack GCC) 12.1.0
    Compiler expansion : /usr/local/pace-apps/spack/packages/linux-rhel7-x86_64_v3/gcc-4.8.5/gcc-12.1.0-qgxpzkq64xukc4zdq2cucb5pw5iqrzjg/bin/gcc
    Compiler flags : -O3 -flto=auto -no-pie
    Builder : [email protected]
    GSL version : 2.8
    SUNDIALS version : N/A
    PETSc version : N/A
    SLEPc version : N/A

Also tried using

  • FeenoX version: FeenoX v0.2-dirty
    Build architecture : cygwin x86_64
    Compiler : gcc (GCC) 10.2.0
    Compiler flags : -Ofast -DLD_STATIC
    Builder : jerem@DESKTOP-CSOL4OE
    GSL version : 2.7
    SUNDIALS version : N/A
    PETSc version : Petsc Release Version 3.16.2, Dec 07, 2021
    PETSc arch : cygwin-serial-static
    PETSc options : PETSC_DIR=/home/jerem/feenox/dist/petsc-3.16.2 PETSC_ARCH=cygwin-serial-static --with-mpi=0 --with-fc=0 --with-cxx=0 --with-fortran-bindings=0 --with-fc=0 --with-c2html=0 --with-x=0 --with-debugging=0 --with-shared-libraries=0 --download-f2cblaslapack --COPTFLAGS=-Ofast
    SLEPc version : SLEPc Release Version 3.16.1, Nov 17, 2021

Thank you for looking into this!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.