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 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: tangd
Forum: OpenFOAM Running, Solving & CFD August 14, 2006, 03:17
Replies: 8
Views: 1,867
Posted By tangd
I found that there is an examp

I found that there is an example about how to define thermo type in equilibriumFlameT.C, which is:

typedef specieThermo<janafthermo<perfectgas> > thermo;

I think that is the thermo type I...
Forum: OpenFOAM Running, Solving & CFD August 10, 2006, 08:41
Replies: 8
Views: 1,867
Posted By tangd
I tried my way to define an ob

I tried my way to define an object whose type is specieThermo<class>, that is what I did so far:

first include "specieThermo.H", and declare an object:
specieThermo<scalar> test(scalar);
...
Forum: OpenFOAM Running, Solving & CFD August 10, 2006, 02:35
Replies: 8
Views: 1,867
Posted By tangd
I am aware of that this is a C

I am aware of that this is a C++ problem: given the class template, how to access its member? It is kind of hard for me to handle due to my poor C++ skill. Can somebody show me how to manage to do...
Forum: OpenFOAM Running, Solving & CFD August 9, 2006, 02:48
Replies: 8
Views: 1,867
Posted By tangd
Thanks! I know what you meant

Thanks! I know what you meant here. But this Cp is scalarField, I also tried this before, what I got is the Cp values at inlet. I want to use the scalar Cp which I think is defined in specieThermo.H:...
Forum: OpenFOAM Running, Solving & CFD August 9, 2006, 01:43
Replies: 8
Views: 1,867
Posted By tangd
Thanks for your information. B

Thanks for your information. By the way, I'm using sonicTurbFoam which doesn't have anything to do with combustion. Is there other possibility to get Cp(T)?

If dieselEngineFoam is helpful to my...
Forum: OpenFOAM Running, Solving & CFD August 8, 2006, 07:59
Replies: 8
Views: 1,867
Posted By tangd
Sorry, here the question chang

Sorry, here the question changes. If I use janafThermo, the Cp is computed by a function about T. In the code of specieThermo.H, I found:

inline scalar Cp(const scalar T) const;

I guess...
Forum: OpenFOAM Running, Solving & CFD August 8, 2006, 03:29
Replies: 8
Views: 1,867
Posted By tangd
If I declare a variable like:

If I declare a variable like:

const fvPatchVectorField& Up =
lookupPatchField<volvectorfield,>("U");

I get Up value from inlet. But it seems like there is no such declaration for...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -4. The time now is 19:56.