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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: immortality
Forum: OpenFOAM Programming & Development June 15, 2015, 08:09
Replies: 13
Views: 1,842
Posted By immortality
how to modify the tool for OF 2.4.0?

Hello dear Bruno, how are you?;)
I want to update the tool for post processing values for OF 2.4.0 it gives this error at the moment:
ehsan@ehsan-N56JK:~/OpenFoam/totalpT$ wmake all
Making...
Forum: OpenFOAM Programming & Development June 23, 2013, 06:07
Replies: 13
Views: 1,842
Posted By immortality
I have corrected it.a mistake in the type of...

I have corrected it.a mistake in the type of field.it should be scalar field.
the corrected solver compiles well and is attached.but still it doesn't write Cp and Cv(only writes files that contain...
Forum: OpenFOAM Programming & Development June 23, 2013, 05:15
Replies: 13
Views: 1,842
Posted By immortality
I added two fields for Cp and Cv and write...

I added two fields for Cp and Cv and write commands in the solver without success :(
its the error:
ehsan@Ehsan-com:~/Desktop/Solvers/rhoCentralFoamGasCont$ wmake
Making dependency list for source...
Forum: OpenFOAM Programming & Development June 22, 2013, 12:56
Replies: 13
Views: 1,842
Posted By immortality
I wrote the required equation for total_pressure...

I wrote the required equation for total_pressure : p0=p*pow(1+magSqr(U)/(2*Cp*T),Cp/(Cp-Cv))
if we can modify rhoCentralFoam so that writes Cp and Cv in each time folder we after that can use that...
Forum: OpenFOAM Programming & Development June 21, 2013, 16:50
Replies: 13
Views: 1,842
Posted By immortality
thanks again.in Mach file code this part exists: ...

thanks again.in Mach file code this part exists:
autoPtr<fluidThermo> thermo
(
fluidThermo::New(mesh)
);

volScalarField Cp(thermo->Cp());
...
Forum: OpenFOAM Programming & Development June 21, 2013, 16:13
Replies: 13
Views: 1,842
Posted By immortality
thanks.but I can't download the code.this is the...

thanks.but I can't download the code.this is the error with gzip:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Forum: OpenFOAM Programming & Development June 21, 2013, 13:09
Replies: 13
Views: 1,842
Posted By immortality
and if I want to apply your nice suggestion I...

and if I want to apply your nice suggestion I modified it with gamma=1.4 and Mach field but still an error occurs:
Making dependency list for source file ptot.C
SOURCE=ptot.C ; g++ -m64 -Dlinux64...
Forum: OpenFOAM Programming & Development June 21, 2013, 12:58
Replies: 13
Views: 1,842
Posted By immortality
thanks Sebastian in my case flow reachs to 1.5...

thanks Sebastian
in my case flow reachs to 1.5 in maximum.is the difference considerable in your opinion for going to change the code at all?
because as you notified me about gamma importance by...
Forum: OpenFOAM Programming & Development June 21, 2013, 08:49
Replies: 13
Views: 1,842
Posted By immortality
I modified the ptot folder,as attached,but this...

I modified the ptot folder,as attached,but this error says what?!
/opt/openfoam220/src/OpenFOAM/lnInclude/sphericalTensorFieldField.C:49:1: note: template<template<class> class Field>...
Forum: OpenFOAM Programming & Development June 20, 2013, 17:55
Replies: 13
Views: 1,842
Posted By immortality
adding compressible option to ptot

in ptot(below) there implemented only incompressible and subsonic compressible formulas.
how can add supersonic compressible formula too by an option like -compressible?
if (p.dimensions() ==...
Showing results 1 to 10 of 10

 
Forum Jump

All times are GMT -4. The time now is 05:06.