CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 25, 2008, 16:36
Default Hello to OpenFOAM forum. We a
  #1
New Member
 
David Sponiar
Join Date: Mar 2009
Location: Prague, Czech rep.
Posts: 27
Rep Power: 17
sponiar is on a distinguished road
Hello to OpenFOAM forum.
We are working on implementation new BC in OF 1.4.1. New BC is depend on neigbour boundary centroid value of any simple scalar mathematics operation (dot product, gradient etc.)
We noted successful implementation in 32bit OpenSuSE 10.3 linux distribution with satisfactory convergence with simpleFoam and k-epsilon turblence models.

We copied same source c++ source (*C, *H, MakeFiles and MakeOptions) code of BC on another workstation with various linux distribution. In our case: 64Bit CentOs 5.0 and 64Bit SLED 10.0. We noted very individual behaviour.
I have to say, OpenFOAM 1.4.1 is same over all workstations. That means, we seting-up OF 1.4.1 same way something like: read README instalation setup, seting up enviroment, using precompiled and prepared GNU compiler from OF download.

Behaviours, which I was talking above are:
32Bit OpenSuSe 10.3.:
- compiling, implementation and solving is successful.

64Bit CentOS 5.0:
- compiling is successful,
- implementation new BC is successful,
- solving case:
- only components of velocity was solved, but scalar filed like p, k, epsion is not.
- FOAM FATAL ERROR say:gradientInternalCoeffs cannot be called for a defaultFvPatchField


64Bit SLED 10.0.:
- compiling is successful,
- implementation new BC is not successful,
- FOAM FATAL ERROR say that new boundary is not known.

Any idea, where could be any mistake. If I start 'foamInstallationTest' on every workstations, results are OK = no critical error, configurations are OK.
sponiar is offline   Reply With Quote

Old   February 26, 2008, 03:09
Default If you have one working system
  #2
New Member
 
Valery Reznic
Join Date: Mar 2009
Posts: 9
Rep Power: 17
valery_reznic is on a distinguished road
If you have one working system, you can use
ermine (http://magicErmine.com) or statifier (http://statifier.sf.net) to pack executable with all shared libraries it's needed and move it to another box). Moving from 32-bit sytem to 64-bit is OK.
valery_reznic is offline   Reply With Quote

Old   February 26, 2008, 04:58
Default Hello Valery, thank you for y
  #3
New Member
 
David Sponiar
Join Date: Mar 2009
Location: Prague, Czech rep.
Posts: 27
Rep Power: 17
sponiar is on a distinguished road
Hello Valery,
thank you for your respondence. This is not, what I am looking for. I am not sharing OF directors tree. Every OF instalation is individual on invidual workastions. Differences is only in architecture and using linux distributions.

I am just testing new BC implemented on outlet BC. I don't understand this situation, when precompiled OF 1.4.1+gcc4.2.1+paraview+java were correct installed all over workastions with successful simulating some case (interFoam, simpleFoam, icoFoam etc.), I noted individual behaviour on each of linux distributions, even if new BC was compiled and implemented more or less successful.

My first guess was in some header were not included. Something like discussed in this thread:
http://www.cfd-online.com/OpenFOAM_D...ges/1/202.html
where Jarrod Sinclair contributed with FAOM FATAL ERROR, which is same like in my case. I thing, library libcfdTools is not using in OF version 1.4.1.

D.S.
sponiar is offline   Reply With Quote

Old   February 26, 2008, 07:31
Default Sure, my suggestion don't help
  #4
New Member
 
Valery Reznic
Join Date: Mar 2009
Posts: 9
Rep Power: 17
valery_reznic is on a distinguished road
Sure, my suggestion don't help to understand the problem, but it can (I hope) avoid it: if you run exactly same executable (and it use exactly same libraries) it should work OK on all platforms.

Valery
valery_reznic is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit coompressor OpenFOAM Installation 0 November 12, 2008 20:53
Differences between 32bit and 64bit results philippose OpenFOAM Running, Solving & CFD 4 November 9, 2007 14:17
Can Fluent 32bit version run using 64bit CPU? Danny FLUENT 3 August 16, 2005 10:04
32bit STAR on 64bit OS & CPU Jihwan Siemens 6 May 23, 2005 02:58
64bit Server to 32bit Client Saturn FLUENT 0 March 31, 2005 03:35


All times are GMT -4. The time now is 13:18.