|
[Sponsors] |
June 7, 2005, 11:54 |
hi all,
i have created a ne
|
#1 |
Guest
Posts: n/a
|
hi all,
i have created a new solver and i have compiled it successfully, but when i tried to calculate an example i get the following errors: free(): invalid pointer 0x80b7400! free(): invalid pointer 0x80b9d78! free(): invalid pointer 0x80bcb30! free(): invalid pointer 0x80be000! free(): invalid pointer 0x80ba2b8! free(): invalid pointer 0x80b9a38! free(): invalid pointer 0x80b9a78! free(): invalid pointer 0x80bdaa8! free(): invalid pointer 0x80bc590! Segmentation fault . The adresses of the invalid pointers are always the same, so i think it is a static problem. who can help me? |
|
June 7, 2005, 12:39 |
1. Can you run one of the stan
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
1. Can you run one of the standard solvers?
2. Create a copy of one of the standard solvers e.g. icoFoam and compile this and see if you get the same. 3. Is your gcc the one supplied by us or your system one? |
|
June 7, 2005, 12:54 |
1. yes i can run the standard
|
#3 |
Guest
Posts: n/a
|
1. yes i can run the standard solvers.
2. if i compile a standard solver with my gcc i get the same results. so i think the reason for the errors is my gcc. thanks for your support! |
|
June 14, 2005, 07:21 |
hi,
i have created a new s
|
#4 |
Guest
Posts: n/a
|
hi,
i have created a new solver for incompressible flow and i have compiled it successfully, but when i tried to calculate an example i get the following error: --> FOAM FATAL ERROR : request for volScalarField rho from objectRegistry region0 failed available objects of type volScalarField are i want to calculate incompressible flows, so i donīt need the "volScalarFiels rho". so my qurstion is, which file needs the density? |
|
June 14, 2005, 07:25 |
What models and boundary condi
|
#5 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
What models and boundary conditions are you using?
When do you get this message? i.e. what is the code doing at the time? |
|
June 14, 2005, 10:24 |
i started with icoFoam (incomp
|
#6 |
Guest
Posts: n/a
|
i started with icoFoam (incompressible, no turbulence model) and i combined it with buoyantFoam.
boundary conditions: T: fixedValue/zeroGradient, p-WallBuoyantPressure, U-fixedValue i get the message at the first time step: ================================================ Starting time loop Max Courant Number = 0 Time = 10 BICCG: Solving for T, Initial residual = 1, Final residual = 2.50922e-07, No Iterations 6 --> FOAM FATAL ERROR : request for volScalarField rho from objectRegistry region0 failed available objects of type volScalarField are 6 ( p div(phi) A(U) 1|A(U) T_0 T ) Function: objectRegistry::lookupObject<type>(const word&) const in file: /home/dm2/henry/OpenFOAM/OpenFOAM-1.1/src/OpenFOAM/lnInclude/objectRegistryTempl ates.C at line: 122. FOAM aborting ============================================== |
|
June 14, 2005, 10:51 |
> p-WallBuoyantPressure
I w
|
#7 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
> p-WallBuoyantPressure
I wrote this boundary condition for the buoyantFoam and related codes and because these are compressible (variable-density) codes this BC needs the density. |
|
June 14, 2005, 11:10 |
why do the pressure in incompr
|
#8 |
Guest
Posts: n/a
|
why do the pressure in incompressilbe flows have the dimension [0 2 -2 0 0 0 0] (icoFoam) and in compressible flows [1 -1 -2 0 0 0 0] (buoyantFoam)? Did you set the density to 1 and divided the pressure by the density?
|
|
June 14, 2005, 11:16 |
The pressure is divided by the
|
#9 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 22 |
The pressure is divided by the density in the single-phase incompressible solvers but this does not imply the density is 1 only that is it constant and uniform.
|
|
June 14, 2005, 11:44 |
now i have a new problem:
i h
|
#10 |
Guest
Posts: n/a
|
now i have a new problem:
i have three output variables, but only the values of one were written in the runtime directory, the other files look like the initial files at runtime 0. what did i wrong? should i AUTO_WRITE change to MUST_WRITE? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems about compiling a new solver | fw407 | OpenFOAM Running, Solving & CFD | 1 | December 27, 2007 14:52 |
Solver problems | JV | Siemens | 0 | October 28, 2005 00:31 |
Problems with VOF solver | Benjamin | FLUENT | 0 | August 20, 2004 09:17 |
Solver Software (?) problems | JvK | CFX | 5 | August 9, 2002 14:33 |
Solving 2-d problems by 3-d solver | eddy | Main CFD Forum | 3 | September 7, 2000 07:15 |