|
[Sponsors] |
[foam-extend.org] Very big problem with source bashrc foam-extend 4.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 30, 2017, 04:47 |
Very big problem with source bashrc foam-extend 4.0
|
#1 |
New Member
Ben
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Hi everybody ,
I set openfoam extended to try HronTurek's tutorial with the solver icoFsiElasticNonLinULSolidFoam. Also, i used Openfoam4.1 and no problem to use icoFoam or pisoFoam solver, it works very well ! My problem is about openfoam extended : i have sourced the bashrc and did allwmake.firstinstall, it looks works but when I do ./Allrun in HronTurek tutorial, it makes empty log file in solid and fluid repository and in this log file it is written "./Allrun: 55: ./Allrun: icoFsiElasticNonLinULSolidFoam: not found" for log.icoFsiElasticNonLinULSolidFoam. All others log.file are empty. If i source with the bashrc of Openfoam4.1, log.file in openfoamextended are well computed except the log.icoFsiElasticNonLinULSolidFoam because i think the bashrc doesn't active the icoFsiElasticNonLinULSolidFoam solver. I work on a virtual toolbox. Openfoam4.1 are set in /opt/... (i often have to use "sudo command") and i set openfoam extended 4.0 in my home directory .... I don't know what is the problem. I work on that for 2 days yet whithout solving this problem I would be very grateful if somebody could help me !!! NewFast. |
|
July 2, 2017, 20:08 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answers:
__________________
|
|
July 3, 2017, 12:01 |
|
#3 | |
New Member
Ben
Join Date: Jun 2017
Posts: 2
Rep Power: 0 |
Hi Wyldckat,
1) I attached the log.file "log.make.gz" 2 ) I activate the environment for foam-extend 4.0, by running fe40 as you said. Now, All the log.file are compiled with the letter C. It is running as when i use the source of openfoam4.1. Only log.file log.changeDictionary is not running. As you can see just below, i put "paraFoam" and i have this error: Quote:
I check with incompressible tutorials and it works well as with source openfoam4.1. But why do I have this error message ? Many Thanks for your previous answer and you future answer I hope ! |
||
July 9, 2017, 08:19 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Nexfast,
I am a bit concerned that you didn't describe what each step that I listed had given you, so I hope you've done all of the steps correctly. foam-extend 4.0 did not finish building properly because it ran out of disk space, as detailed in a few error messages that were listed in "log.make": Code:
patchIntegrate.C:172:1: fatal error: error writing to /tmp/ccmpExt8.s: No space left on device The application "changeDictionary" isn't even listed in the "log.make" file, therefore that would explain why it didn't run. From what I can figure out, your machine ran out of disk space on two locations:
Code:
df -h /tmp df -h /home/$USERNAME/foam/foam-extend-4.0/applications/ Once you've cleared up some disk space, I believe you can fix some of the broken parts by running the following commands: Code:
foam grep "\.dep" log.make | sed -e 's=\([a-zA-Z]*\.dep\).*=\1=' -e "s=.*'==" | sort -u | xargs -I {} find $FOAM_APP -name {} | xargs rm Then try building again: Code:
./Allwmake > log.make2 2>&1 gzip < log.make2 > log.make2.gz As for the tutorial case, it can't work properly without changeDictionary being properly built. Best regards, Bruno |
|
August 28, 2018, 22:45 |
|
#5 |
New Member
Igor Fleury
Join Date: Aug 2018
Posts: 4
Rep Power: 8 |
Good night, wyldckat!
Sorry for reviving this thread but I really need some help and I think you can easily help me. I'm a beginner at openfoam, spent two months learning the basics of the software (openfoam6) and I'm happy with my learning process. The thing is, I'll have to use Immersed Boundary Method for my final project so I had to downloand another version, foam extend 4.0. At the time I have both installed on my computer, of6 installed on /opt and fe40 installed on home. Everything works perfectly on of6 but nothing works on foamextend4. When I try to run the cavity tutorial, for example, after typing icoFoam, it gets me back: --> FOAM FATAL IO ERROR: Unknown asymmetric matrix solver BiCGStab Valid asymmetric matrix solvers are : 4 ( GAMG PBiCG PBiCGStab smoothSolver ) file: /home/igor/foam/igor-4.0/run/tutorials/incompressible/icoFoam/cavity2/system/fvSolution.solvers.U from line 29 to line 32. From function static Foam::autoPtr<Foam::lduMatrix::solver> Foam::lduMatrix::solver::New(const Foam::word&, const Foam::lduMatrix&, const Foam::FieldField<Foam::Field, double>&, const Foam::FieldField<Foam::Field, double>&, const lduInterfaceFieldPtrsList&, const Foam::dictionary&) in file matrices/lduMatrix/lduMatrix/lduMatrixSolver.C at line 101. FOAM exiting Also tried to run some of the ImmersedBoundary tutorials but no success also. Sorry for the basic question, I really hope you can help me someway. Thanks in advance! =) |
|
September 1, 2018, 16:34 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: It seems to be because OpenFOAM 6 is still being used and not foam-extend 4.0. See the following section on how to keep OpenFOAM/foam-extend versions apart on each terminal: https://openfoamwiki.net/index.php/I...nFOAM_versions
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 11:56 |