CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Daniel73
Forum: OpenFOAM Programming & Development January 21, 2014, 10:09
Replies: 17
Views: 3,349
Posted By Daniel73
Dear wyldcat, Thank you for your answer but...

Dear wyldcat,

Thank you for your answer but i need to plot my pointField which was initialized in my code.this just has x and y value in that and i need to plot those coordinates in paraview.
I...
Forum: OpenFOAM Programming & Development December 10, 2013, 12:44
Replies: 17
Views: 3,349
Posted By Daniel73
Thank you very much. I've done it. Just a...

Thank you very much.
I've done it.
Just a question, is it possible to visualize that pointFields in paraview ?
Forum: OpenFOAM Programming & Development December 10, 2013, 07:06
Replies: 17
Views: 3,349
Posted By Daniel73
I would like to save some coordinates in a...

I would like to save some coordinates in a vector, and be able to assign some value to this coordinates.
in std::vector i can use this way : vec(i,j,z)= some value ;
Now, as you told, im trying to...
Forum: OpenFOAM Programming & Development December 10, 2013, 06:11
Replies: 17
Views: 3,349
Posted By Daniel73
Let me clear the problem. I want to use...

Let me clear the problem.
I want to use std::vector in OpenFOAM but nobody knows why it is not working.Somebody in a forum as an answer of the question of another person told that use...
Forum: OpenFOAM Programming & Development December 9, 2013, 04:56
Replies: 17
Views: 3,349
Posted By Daniel73
I forgot to say that i included that, but no...

I forgot to say that i included that, but no influence!
maybe because there exist the vector.h header of the openFoam in InInclude folder and this code does not include the std library...
Forum: OpenFOAM Programming & Development December 8, 2013, 16:40
Replies: 17
Views: 3,349
Posted By Daniel73
I would like to use a std c++ vector library by...

I would like to use a std c++ vector library by the command e.g std::vector<int> vec;
But I've got error that ‘vector’ is not a member of ‘std’.
Do you know how can i use the standard library of...
Forum: OpenFOAM Programming & Development December 8, 2013, 12:27
Replies: 17
Views: 3,349
Posted By Daniel73
3D vector in OpenFOAM

I need to define a 3D vector in OpenFOAM.
First,i tried to use std c++ vector library but #include <vector> gave me errors.
Second, i tried to use the foam vector,but It seems that the FOAM::vector...
Forum: OpenFOAM Programming & Development December 8, 2013, 10:06
Replies: 17
Views: 3,349
Posted By Daniel73
I had initialized it before but it did not have...

I had initialized it before but it did not have any influence and again i got this error:

error: no match for call to ‘(Foam::vector {aka Foam::Vector<double>}) (int&, int, int)’
...
Forum: OpenFOAM Programming & Development December 8, 2013, 09:20
Replies: 17
Views: 3,349
Posted By Daniel73
3D vector in OpenFOAM

Hi,

I would like to put some value in a simple 3d vector.
Do you know why this fragment of code does not work?(No matching function Error...)

vector someVec;
for (int i = 1; i < 11;...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 09:36.